From 84be1af39eaab931ce93d1da547bba7c2845473a Mon Sep 17 00:00:00 2001 From: Matthieu Hughes Date: Wed, 12 Jun 2019 15:34:42 -0300 Subject: [PATCH] Add datastream paths to list of admin paths --- islandora.module | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/islandora.module b/islandora.module index eeae14ec..de98ae67 100644 --- a/islandora.module +++ b/islandora.module @@ -429,7 +429,9 @@ function islandora_admin_paths() { $paths['islandora/object/*/manage*'] = TRUE; $paths['islandora/object/*/delete*'] = TRUE; $paths['islandora/object/*/datastream/*/edit'] = TRUE; - $paths['islandora/object/*/datastream/*/versions'] = TRUE; + $paths['islandora/object/*/datastream/*/version*'] = TRUE; + $paths['islandora/object/*/datastream/*/replace'] = TRUE; + $paths['islandora/object/*/datastream/*/delete'] = TRUE; return $paths; }