From: Liam Whalen Date: Wed, 2 Dec 2015 20:06:11 +0000 (-0800) Subject: LP#1175400 Added permission for over allocation X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Fcsharp%2Flp1175400_over_allocation;p=working%2FEvergreen.git LP#1175400 Added permission for over allocation Signed-off-by: Liam Whalen --- 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 e029263de2..cc5a0182dc 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -1604,6 +1604,8 @@ INSERT INTO permission.perm_list ( id, code, description ) VALUES 'Allow administration of MARC tag tables', 'ppl', 'description' )), ( 563, 'ADJUST_BILLS', oils_i18n_gettext( 563, 'Allow a user to adjust a bill (generally to zero)', 'ppl', 'description' )) + ( 564, 'ACQ_OVERRIDE_OVER_ALLOCATION', oils_i18n_gettext( 564, + 'Allow staff to override an allocation of more funds than are available', 'ppl', 'description' )) ; SELECT SETVAL('permission.perm_list_id_seq'::TEXT, 1000); diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.perm-list.acq_overallocation.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.perm-list.acq_overallocation.sql new file mode 100644 index 0000000000..fa561eee22 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.perm-list.acq_overallocation.sql @@ -0,0 +1,10 @@ +BEGIN; + +INSERT INTO config.upgrade_log (version) VALUES ('XXXX'); + +INSERT INTO permission.perm_list VALUES + ( 564, 'ACQ_OVERRIDE_OVER_ALLOCATION', oils_i18n_gettext( 564, + 'Allow staff to override an allocation of more funds than are available', 'ppl', 'description' )) +; + +COMMIT;