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=5db5ea8d1cb533c56f6f8fc77607c3720c67fb30;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 ee87ff59f5..1564590bbb 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -1599,6 +1599,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;