From: Jason Etheridge Date: Thu, 26 May 2011 16:50:39 +0000 (-0400) Subject: put CREATE_PURCHASE_REQUEST into Users, not Staff X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c414aa50d4344dd2760a214371907430e5a6af5a;p=evergreen%2Fbjwebb.git put CREATE_PURCHASE_REQUEST into Users, not Staff Signed-off-by: Dan Wells --- diff --git a/Open-ILS/src/sql/Pg/upgrade/0542.data.perm-list.misc-cat.sql b/Open-ILS/src/sql/Pg/upgrade/0542.data.perm-list.misc-cat.sql index 0398dcf84..fb87d7d9a 100644 --- a/Open-ILS/src/sql/Pg/upgrade/0542.data.perm-list.misc-cat.sql +++ b/Open-ILS/src/sql/Pg/upgrade/0542.data.perm-list.misc-cat.sql @@ -27,19 +27,29 @@ INSERT INTO permission.perm_list VALUES ,(506, 'VIEW_USER_SETTING_TYPE', oils_i18n_gettext(506, 'Allows viewing of configurable user setting types.', 'ppl', 'description')) ; --- stock Staff group +-- stock Users group INSERT INTO permission.grp_perm_map ( grp, perm, depth ) SELECT - 3, + 1, id, 0 FROM permission.perm_list WHERE code in ( 'CREATE_PURCHASE_REQUEST' - ,'VIEW_USER_SETTING_TYPE' ); +-- stock Staff group + +INSERT INTO permission.grp_perm_map ( grp, perm, depth ) + SELECT + 3, + id, + 0 + FROM permission.perm_list + WHERE code in ( + 'VIEW_USER_SETTING_TYPE' + ); -- stock Circulators group