put CREATE_PURCHASE_REQUEST into Users, not Staff
authorJason Etheridge <jason@esilibrary.com>
Thu, 26 May 2011 16:50:39 +0000 (12:50 -0400)
committerDan Wells <dbw2@calvin.edu>
Wed, 1 Jun 2011 16:38:33 +0000 (12:38 -0400)
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/sql/Pg/upgrade/0542.data.perm-list.misc-cat.sql

index 0398dcf..fb87d7d 100644 (file)
@@ -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