Browse Source

Merge pull request #723 from mghughes/7.x-datastream-admin-paths

Add more datastream paths as admin paths
7.x-1.13
Diego Pino Navarro 6 years ago committed by GitHub
parent
commit
f5ff5a16a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      islandora.module

7
islandora.module

@ -429,7 +429,12 @@ 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/*/version/*/delete'] = TRUE;
$paths['islandora/object/*/datastream/*/version/*/revert'] = TRUE;
$paths['islandora/object/*/datastream/*/version/*/view'] = TRUE;
$paths['islandora/object/*/datastream/*/replace'] = TRUE;
$paths['islandora/object/*/datastream/*/delete'] = TRUE;
return $paths;
}

Loading…
Cancel
Save