In the 2.x branch we have multiple export types, we need to have permissions per export type, unfortunately this is going to mean quite a lot of permissions :/

Comments

benjy created an issue. See original summary.

pameeela’s picture

Status: Active » Closed (outdated)

Checked with Ben and this is no longer required.

solideogloria’s picture

In that case, the TODO comments in ViewPrintController and EntityPrintController should be removed:

   * @TODO, improve permissions in https://www.drupal.org/node/2759553
   */
  public function checkAccess($export_type, $view_name, $display_id) {
   * @TODO, improve permissions in https://www.drupal.org/node/2759553
   */
  public function viewPrintDebug($export_type, $entity_type, $entity_id) {