From: Scott Prater Date: Tue, 27 Dec 2011 22:06:19 +0000 (-0600) Subject: Patron Stat Cat Enhancements: Add permissions for manipulating stat_cat_entry_default. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c4d4ae6b9cec623f1efbe12ff3d198e3a4b6c44c;p=working%2FEvergreen.git Patron Stat Cat Enhancements: Add permissions for manipulating stat_cat_entry_default. Signed-off-by: Scott Prater --- diff --git a/Open-ILS/src/sql/Pg/950.data.seed-values.sql b/Open-ILS/src/sql/Pg/950.data.seed-values.sql index aa98c2e6d5..132b231c3d 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -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',