[open-ils-commits] r16662 - in trunk/Open-ILS/src/sql/Pg: . upgrade (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Jun 10 15:28:36 EDT 2010


Author: phasefx
Date: 2010-06-10 15:28:31 -0400 (Thu, 10 Jun 2010)
New Revision: 16662

Added:
   trunk/Open-ILS/src/sql/Pg/upgrade/0303.data.permission.update_pickup_lib_from_hold_transit.sql
Modified:
   trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
   trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql
Log:
seed the UPDATE_PICKUP_LIB_FROM_TRANSIT perm

Modified: trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/002.schema.config.sql	2010-06-10 19:16:27 UTC (rev 16661)
+++ trunk/Open-ILS/src/sql/Pg/002.schema.config.sql	2010-06-10 19:28:31 UTC (rev 16662)
@@ -68,7 +68,7 @@
     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,

Modified: trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql	2010-06-10 19:16:27 UTC (rev 16661)
+++ trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql	2010-06-10 19:28:31 UTC (rev 16662)
@@ -1370,6 +1370,7 @@
     (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);

Added: trunk/Open-ILS/src/sql/Pg/upgrade/0303.data.permission.update_pickup_lib_from_hold_transit.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/upgrade/0303.data.permission.update_pickup_lib_from_hold_transit.sql	                        (rev 0)
+++ trunk/Open-ILS/src/sql/Pg/upgrade/0303.data.permission.update_pickup_lib_from_hold_transit.sql	2010-06-10 19:28:31 UTC (rev 16662)
@@ -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;



More information about the open-ils-commits mailing list