[open-ils-commits] r17848 - in trunk/Open-ILS/src/sql/Pg: . upgrade (senator)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Sep 20 16:40:29 EDT 2010
Author: senator
Date: 2010-09-20 16:40:23 -0400 (Mon, 20 Sep 2010)
New Revision: 17848
Added:
trunk/Open-ILS/src/sql/Pg/upgrade/0407.data.serial-perm.sql
Modified:
trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql
Log:
The serials perms that were missing from the DB.
Later it'd be better to make these more a) comprehensive and b) elegant.
Modified: trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/002.schema.config.sql 2010-09-20 20:22:34 UTC (rev 17847)
+++ trunk/Open-ILS/src/sql/Pg/002.schema.config.sql 2010-09-20 20:40:23 UTC (rev 17848)
@@ -68,7 +68,7 @@
install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
);
-INSERT INTO config.upgrade_log (version) VALUES ('0406'); -- miker
+INSERT INTO config.upgrade_log (version) VALUES ('0407'); -- senator
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-09-20 20:22:34 UTC (rev 17847)
+++ trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql 2010-09-20 20:40:23 UTC (rev 17848)
@@ -1385,6 +1385,10 @@
,(394, 'ISSUANCE_HOLDS', oils_i18n_gettext( 394, 'Allow a user to place holds on serials issuances', 'ppl', 'description' ))
,(395, 'VIEW_CREDIT_CARD_PROCESSING', oils_i18n_gettext( 395, 'View org unit settings related to credit card processing', 'ppl', 'description' ))
,(396, 'ADMIN_CREDIT_CARD_PROCESSING', oils_i18n_gettext( 396, 'Update org unit settings related to credit card processing', 'ppl', 'description' ))
+ ,(397, 'ADMIN_SERIAL_CAPTION_PATTERN', oils_i18n_gettext(397, 'Create/update/delete serial caption and pattern objects', 'ppl', 'description'))
+ ,(398, 'ADMIN_SERIAL_SUBSCRIPTION', oils_i18n_gettext(398, 'Create/update/delete serial subscription objects', 'ppl', 'description'))
+ ,(399, 'ADMIN_SERIAL_DISTRIBUTION', oils_i18n_gettext(399, 'Create/update/delete serial distribution objects', 'ppl', 'description'))
+ ,(400, 'ADMIN_SERIAL_STREAM', oils_i18n_gettext(400, 'Create/update/delete serial stream objects', 'ppl', 'description'))
;
Added: trunk/Open-ILS/src/sql/Pg/upgrade/0407.data.serial-perm.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/upgrade/0407.data.serial-perm.sql (rev 0)
+++ trunk/Open-ILS/src/sql/Pg/upgrade/0407.data.serial-perm.sql 2010-09-20 20:40:23 UTC (rev 17848)
@@ -0,0 +1,12 @@
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0407'); -- senator
+
+INSERT INTO permission.perm_list (id, code, description) VALUES
+ (397, 'ADMIN_SERIAL_CAPTION_PATTERN', oils_i18n_gettext(397, 'Create/update/delete serial caption and pattern objects', 'ppl', 'description')),
+ (398, 'ADMIN_SERIAL_SUBSCRIPTION', oils_i18n_gettext(398, 'Create/update/delete serial subscription objects', 'ppl', 'description')),
+ (399, 'ADMIN_SERIAL_DISTRIBUTION', oils_i18n_gettext(399, 'Create/update/delete serial distribution objects', 'ppl', 'description')),
+ (400, 'ADMIN_SERIAL_STREAM', oils_i18n_gettext(400, 'Create/update/delete serial stream objects', 'ppl', 'description'));
+
+COMMIT;
+
More information about the open-ils-commits
mailing list