From 10b8a53cd4266469b11bb556ebb83a60390ee7ca Mon Sep 17 00:00:00 2001 From: Ben Shum Date: Thu, 11 Oct 2012 00:10:54 -0400 Subject: [PATCH] Add associated permissions to admin menu commands For the admin menu, we had already begun to check for specific permissions to allow staff to access the menu options. However, it is not complete. This is a first attempt to add additional permissions to various local and server admin options. Signed-off-by: Ben Shum --- .../chrome/content/main/menu_frame_menus.xul | 109 +++++++++++++++------ 1 file changed, 81 insertions(+), 28 deletions(-) diff --git a/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul b/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul index 2e984d7102..7287874223 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul +++ b/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul @@ -123,23 +123,47 @@ - + - - - - - + + + + + - - - - - + + + + + + + perm="UPDATE_ORG_UNIT_SETTING_ALL" + /> @@ -148,17 +172,22 @@ /> - + + perm="ADMIN_ADDRESS_ALERT VIEW_ADDRESS_ALERT" + /> + perm="ADMIN_COPY_LOCATION_GROUP VIEW_COPY_LOCATION_GROUP" + /> + perm="ADMIN_SEARCH_FILTER_GROUP VIEW_SEARCH_FILTER_GROUP" + /> - + - - - - - - + + + + + + @@ -198,8 +241,12 @@ - - + + @@ -209,9 +256,15 @@ - - - + + + -- 2.11.0