From: phasefx Date: Thu, 10 Jun 2010 19:28:31 +0000 (+0000) Subject: seed the UPDATE_PICKUP_LIB_FROM_TRANSIT perm X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=509455b43c98541c767856b794db0c22df18f39f;p=evergreen%2Fbjwebb.git seed the UPDATE_PICKUP_LIB_FROM_TRANSIT perm git-svn-id: svn://svn.open-ils.org/ILS/trunk@16662 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index a6e5e8e79..20ab9cd18 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -68,7 +68,7 @@ CREATE TABLE config.upgrade_log ( install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW() ); -INSERT INTO config.upgrade_log (version) VALUES ('0302'); -- miker +INSERT INTO config.upgrade_log (version) VALUES ('0303'); -- phasefx CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, 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 7d21bf771..2527fd83e 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -1370,6 +1370,7 @@ INSERT INTO permission.perm_list VALUES (388, 'UPDATE_ORG_UNIT_SETTING.circ.block_renews_for_holds', oils_i18n_gettext(388, 'Allow a user to enable blocking of renews on items that could fulfill holds', 'ppl', 'description')), (389, 'ACQ_XFER_MANUAL_DFUND_AMOUNT', oils_i18n_gettext(389, 'Allow a user to transfer different amounts of money out of one fund and into another', 'ppl', 'description')), (390, 'OVERRIDE_HOLD_HAS_LOCAL_COPY', oils_i18n_gettext( 390, 'Allow a user to override the circ.holds.hold_has_copy_at.block setting', 'ppl', 'description' )) + ,(391, 'UPDATE_PICKUP_LIB_FROM_TRANSIT', oils_i18n_gettext( 391, 'Allow a user to change the pickup and transit destination for a captured hold item already in transit', 'ppl', 'description' )) ; SELECT SETVAL('permission.perm_list_id_seq'::TEXT, 1000); diff --git a/Open-ILS/src/sql/Pg/upgrade/0303.data.permission.update_pickup_lib_from_hold_transit.sql b/Open-ILS/src/sql/Pg/upgrade/0303.data.permission.update_pickup_lib_from_hold_transit.sql new file mode 100644 index 000000000..a977538a8 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/0303.data.permission.update_pickup_lib_from_hold_transit.sql @@ -0,0 +1,16 @@ +BEGIN; + +INSERT INTO config.upgrade_log (version) VALUES ('0303'); -- phasefx + +INSERT INTO permission.perm_list (id, code, description) VALUES ( + 391, + 'UPDATE_PICKUP_LIB_FROM_TRANSIT', + oils_i18n_gettext( + 391, + 'Allow a user to change the pickup and transit destination for a captured hold item already in transit', + 'ppl', + 'description' + ) +); + +COMMIT;