Skip to content

Commit

Permalink
Don't give a link to Palace Project Collections for editing
Browse files Browse the repository at this point in the history
  • Loading branch information
mdnoble73 committed May 13, 2024
1 parent 5b57eb9 commit 6a18862
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/web/sys/Account/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -3683,13 +3683,13 @@ public function getAdminActions() {
$sections['palace_project'] = new AdminSection('Palace Project');
$palaceProjectSettingsAction = new AdminAction('Settings', 'Define connection information between Palace Project and Aspen Discovery.', '/PalaceProject/Settings');
$palaceProjectScopesAction = new AdminAction('Scopes', 'Define which records are loaded for each library and location.', '/PalaceProject/Scopes');
$palaceProjectCollectionsAction = new AdminAction('Collections', 'Defines the collections within a Palace Project Account.', '/PalaceProject/Collections');
//$palaceProjectCollectionsAction = new AdminAction('Collections', 'Defines the collections within a Palace Project Account.', '/PalaceProject/Collections');
if ($sections['palace_project']->addAction($palaceProjectSettingsAction, 'Administer Palace Project')) {
$palaceProjectSettingsAction->addSubAction($palaceProjectScopesAction, 'Administer Palace Project');
$palaceProjectSettingsAction->addSubAction($palaceProjectCollectionsAction, 'Administer Palace Project');
//$palaceProjectSettingsAction->addSubAction($palaceProjectCollectionsAction, 'Administer Palace Project');
} else {
$sections['palace_project']->addAction($palaceProjectScopesAction, 'Administer Palace Project');
$sections['palace_project']->addAction($palaceProjectCollectionsAction, 'Administer Palace Project');
//$sections['palace_project']->addAction($palaceProjectCollectionsAction, 'Administer Palace Project');
}
$sections['palace_project']->addAction(new AdminAction('Indexing Log', 'View the indexing log for Palace Project.', '/PalaceProject/IndexingLog'), [
'View System Reports',
Expand Down

0 comments on commit 6a18862

Please sign in to comment.