From 6a188629995dfb891d32f5ad9e83e19377333c9b Mon Sep 17 00:00:00 2001 From: Mark Noble Date: Mon, 13 May 2024 17:08:45 -0600 Subject: [PATCH] Don't give a link to Palace Project Collections for editing --- code/web/sys/Account/User.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/web/sys/Account/User.php b/code/web/sys/Account/User.php index 89d41f9721..4c34068c7d 100644 --- a/code/web/sys/Account/User.php +++ b/code/web/sys/Account/User.php @@ -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',