From 573d6878edf057987f1e41e5068de0074573e4c7 Mon Sep 17 00:00:00 2001 From: Jordan Dukart Date: Thu, 21 Jul 2022 12:09:03 -0300 Subject: [PATCH] Merge pull request from GHSA-m58q-qq5h-mgqq --- islandora.routing.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/islandora.routing.yml b/islandora.routing.yml index 6fea02e9..5387e9a4 100644 --- a/islandora.routing.yml +++ b/islandora.routing.yml @@ -44,8 +44,7 @@ islandora.upload_children: options: _admin_route: 'TRUE' requirements: - _access: 'TRUE' - #_permssion: 'create node,create media' + _custom_access: '\Drupal\islandora\Form\AddChildrenForm::access' islandora.add_media_to_node_page: path: '/node/{node}/media/add'