added permission for allowing (or not) changing the claims returned count for a user
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 22 Sep 2009 19:47:13 +0000 (19:47 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 22 Sep 2009 19:47:13 +0000 (19:47 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14096 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/0014.data.patron-claim-return-perm.sql [new file with mode: 0644]

index d3fd940..3d15643 100644 (file)
@@ -51,7 +51,7 @@ CREATE TABLE config.upgrade_log (
     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,
diff --git a/Open-ILS/src/sql/Pg/upgrade/0014.data.patron-claim-return-perm.sql b/Open-ILS/src/sql/Pg/upgrade/0014.data.patron-claim-return-perm.sql
new file mode 100644 (file)
index 0000000..3af57df
--- /dev/null
@@ -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;
+