Browse Source

Explicitly list version paths to make admin paths

pull/723/head
Matthieu Hughes 5 years ago
parent
commit
45c44100dd
  1. 5
      islandora.module

5
islandora.module

@ -429,7 +429,10 @@ function islandora_admin_paths() {
$paths['islandora/object/*/manage*'] = TRUE; $paths['islandora/object/*/manage*'] = TRUE;
$paths['islandora/object/*/delete*'] = TRUE; $paths['islandora/object/*/delete*'] = TRUE;
$paths['islandora/object/*/datastream/*/edit'] = TRUE; $paths['islandora/object/*/datastream/*/edit'] = TRUE;
$paths['islandora/object/*/datastream/*/version*'] = 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/*/replace'] = TRUE;
$paths['islandora/object/*/datastream/*/delete'] = TRUE; $paths['islandora/object/*/datastream/*/delete'] = TRUE;
return $paths; return $paths;

Loading…
Cancel
Save