LP#1254826: Add permission for PATRON_EXCEEDS_LOST_COUNT.override user/bshum/lp1254826-add-override-for-lost-count
authorBen Shum <bshum@biblio.org>
Tue, 3 Mar 2015 03:09:22 +0000 (22:09 -0500)
committerBen Shum <bshum@biblio.org>
Tue, 3 Mar 2015 03:09:22 +0000 (22:09 -0500)
When the new standing penalty for PATRON_EXCEEDS_LOST_COUNT was added with
LP#1154258, the corresponding .override was not included as a new permission
with the stock system.

Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/sql/Pg/950.data.seed-values.sql

index 74d6539..eebcd35 100644 (file)
@@ -1613,7 +1613,9 @@ INSERT INTO permission.perm_list ( id, code, description ) VALUES
  ( 558, 'group_application.user.staff.data_review', oils_i18n_gettext( 558, 
     'Allow a user to add/remove users to/from the "Data Review" group', 'ppl', 'description' )),
  ( 559, 'group_application.user.staff.volunteers', oils_i18n_gettext( 559, 
-    'Allow a user to add/remove users to/from the "Volunteers" group', 'ppl', 'description' ))
+    'Allow a user to add/remove users to/from the "Volunteers" group', 'ppl', 'description' )),
+ ( 560, 'PATRON_EXCEEDS_LOST_COUNT.override', oils_i18n_gettext( 560, 
+    'Allow staff to override lost count failure', 'ppl', 'description' ))
 ;
 
 SELECT SETVAL('permission.perm_list_id_seq'::TEXT, 1000);