Patron Stat Cat Enhancements: Add permissions for manipulating stat_cat_entry_default.
authorScott Prater <sprater@gmail.com>
Tue, 27 Dec 2011 22:06:19 +0000 (16:06 -0600)
committerScott Prater <sprater@gmail.com>
Sat, 24 Mar 2012 23:30:05 +0000 (18:30 -0500)
Signed-off-by: Scott Prater <sprater@gmail.com>
Open-ILS/src/sql/Pg/950.data.seed-values.sql

index aa98c2e..132b231 100644 (file)
@@ -1533,8 +1533,13 @@ INSERT INTO permission.perm_list ( id, code, description ) VALUES
  ( 521, 'IMPORT_ACQ_LINEITEM_BIB_RECORD_UPLOAD', oils_i18n_gettext( 521,
     'Allows a user to create new bibs directly from an ACQ MARC file upload', 'ppl', 'description' )),
  ( 522, 'IMPORT_AUTHORITY_MARC', oils_i18n_gettext( 522,
-    'Allows a user to create new authority records', 'ppl', 'description' ));
-
+    'Allows a user to create new authority records', 'ppl', 'description' )),
+ ( 523, 'CREATE_PATRON_STAT_CAT_ENTRY_DEFAULT', oils_i18n_gettext( 523, 
+    'User may set a default entry in a patron statistical category', 'ppl', 'description' )),
+ ( 524, 'UPDATE_PATRON_STAT_CAT_ENTRY_DEFAULT', oils_i18n_gettext( 524, 
+    'User may reset a default entry in a patron statistical category', 'ppl', 'description' )),
+ ( 525, 'DELETE_PATRON_STAT_CAT_ENTRY_DEFAULT', oils_i18n_gettext( 525, 
+    'User may unset a default entry in a patron statistical category', 'ppl', 'description' ));
 
 SELECT SETVAL('permission.perm_list_id_seq'::TEXT, 1000);
 
@@ -2054,12 +2059,14 @@ INSERT INTO permission.grp_perm_map (grp, perm, depth, grantable)
                        'CREATE_NON_CAT_TYPE',
                        'CREATE_PATRON_STAT_CAT',
                        'CREATE_PATRON_STAT_CAT_ENTRY',
+                       'CREATE_PATRON_STAT_CAT_ENTRY_DEFAULT',
                        'CREATE_PATRON_STAT_CAT_ENTRY_MAP',
                        'CREATE_USER_GROUP_LINK',
                        'DELETE_BILLING_TYPE',
                        'DELETE_NON_CAT_TYPE',
                        'DELETE_PATRON_STAT_CAT',
                        'DELETE_PATRON_STAT_CAT_ENTRY',
+                       'DELETE_PATRON_STAT_CAT_ENTRY_DEFAULT',
                        'DELETE_PATRON_STAT_CAT_ENTRY_MAP',
                        'DELETE_TRANSIT',
                        'group_application.user.staff',