LP#818311: ACQ_INVOICE_REOPEN is missing
authorMichael Peters <mrpeters@library.in.gov>
Thu, 4 Aug 2011 12:59:15 +0000 (08:59 -0400)
committerMike Rylander <mrylander@gmail.com>
Thu, 4 Aug 2011 19:12:11 +0000 (15:12 -0400)
This patch adds the missing ACQ_INVOICE_REOPEN to the Acquisitions
Administrator user.

Signed-off-by: Michael Peters <mrpeters@library.in.gov>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/src/sql/Pg/950.data.seed-values.sql

index 478ef8a..8bd4112 100644 (file)
@@ -1429,8 +1429,9 @@ INSERT INTO permission.perm_list ( id, code, description ) VALUES
  ( 506, 'VIEW_USER_SETTING_TYPE', oils_i18n_gettext(506,
     'Allows viewing of configurable user setting types.', 'ppl', 'description')),
  ( 510, 'UPDATE_PATRON_COLLECTIONS_EXEMPT', oils_i18n_gettext(510,
-    'Allows a user to indicate that a patron is exempt from collections processing', 'ppl', 'description'));
-
+    'Allows a user to indicate that a patron is exempt from collections processing', 'ppl', 'description')),
+ ( 512, 'ACQ_INVOICE_REOPEN', oils_i18n_gettext( 512,
+    'Allows a user to reopen an Acquisitions invoice', 'ppl', 'description' ));
 
 SELECT SETVAL('permission.perm_list_id_seq'::TEXT, 1000);
 
@@ -2138,6 +2139,7 @@ INSERT INTO permission.grp_perm_map (grp, perm, depth, grantable)
                pgt.name = 'Acquisitions Administrator' AND
                aout.name = 'Consortium' AND
                perm.code IN (
+                       'ACQ_INVOICE_REOPEN',
                        'ACQ_XFER_MANUAL_DFUND_AMOUNT',
                        'ADMIN_ACQ_CANCEL_CAUSE',
                        'ADMIN_ACQ_CLAIM',