[open-ils-commits] r14096 - in trunk/Open-ILS/src/sql/Pg: . upgrade (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Sep 22 15:47:18 EDT 2009
Author: erickson
Date: 2009-09-22 15:47:13 -0400 (Tue, 22 Sep 2009)
New Revision: 14096
Added:
trunk/Open-ILS/src/sql/Pg/upgrade/0014.data.patron-claim-return-perm.sql
Modified:
trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
Log:
added permission for allowing (or not) changing the claims returned count for a user
Modified: trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/002.schema.config.sql 2009-09-22 19:24:08 UTC (rev 14095)
+++ trunk/Open-ILS/src/sql/Pg/002.schema.config.sql 2009-09-22 19:47:13 UTC (rev 14096)
@@ -51,7 +51,7 @@
install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
);
-INSERT INTO config.upgrade_log (version) VALUES ('0003');
+INSERT INTO config.upgrade_log (version) VALUES ('0014');
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
Added: trunk/Open-ILS/src/sql/Pg/upgrade/0014.data.patron-claim-return-perm.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/upgrade/0014.data.patron-claim-return-perm.sql (rev 0)
+++ trunk/Open-ILS/src/sql/Pg/upgrade/0014.data.patron-claim-return-perm.sql 2009-09-22 19:47:13 UTC (rev 14096)
@@ -0,0 +1,11 @@
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0014');
+
+INSERT INTO permission.perm_list (code, description) VALUES (
+ 'UPDATE_PATRON_CLAIM_RETURN_COUNT',
+ 'Allows staff to manually change a patron''s claims returned count'
+);
+
+COMMIT;
+
More information about the open-ils-commits
mailing list