[open-ils-commits] r15755 - branches/rel_1_6_0/Open-ILS/src/sql/Pg (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Mar 9 07:04:41 EST 2010
Author: dbs
Date: 2010-03-09 07:04:40 -0500 (Tue, 09 Mar 2010)
New Revision: 15755
Modified:
branches/rel_1_6_0/Open-ILS/src/sql/Pg/1.6.0.3-1.6.0.4-upgrade-db.sql
branches/rel_1_6_0/Open-ILS/src/sql/Pg/950.data.seed-values.sql
Log:
Backport r15663: Add ALLOW_ALT_TCN to base permissions
Modified: branches/rel_1_6_0/Open-ILS/src/sql/Pg/1.6.0.3-1.6.0.4-upgrade-db.sql
===================================================================
--- branches/rel_1_6_0/Open-ILS/src/sql/Pg/1.6.0.3-1.6.0.4-upgrade-db.sql 2010-03-09 11:56:18 UTC (rev 15754)
+++ branches/rel_1_6_0/Open-ILS/src/sql/Pg/1.6.0.3-1.6.0.4-upgrade-db.sql 2010-03-09 12:04:40 UTC (rev 15755)
@@ -139,6 +139,12 @@
COMMIT;
+-- Ability to import a record with a different TCN
+INSERT INTO permission.perm_list (code, description) VALUES ('ALLOW_ALT_TCN', 'Allows staff to import a record using an alternate TCN to avoid conflicts');
+
+-- Ability to merge users
+INSERT INTO permission.perm_list (code, description) VALUES ('MERGE_USERS', 'Allows user records to be merged');
+
-- More trigger event definition permissions
INSERT INTO permission.perm_list (code, description) VALUES ('ADMIN_TRIGGER_CLEANUP', 'Allow a user to create, delete, and update trigger cleanup entries');
INSERT INTO permission.perm_list (code, description) VALUES ('CREATE_TRIGGER_CLEANUP', 'Allow a user to create trigger cleanup entries');
@@ -175,4 +181,3 @@
INSERT INTO permission.grp_perm_map (grp, perm, depth, grantable)
SELECT 10, id, 0, false FROM permission.perm_list WHERE code LIKE 'VIEW_TRIGGER%';
-
Modified: branches/rel_1_6_0/Open-ILS/src/sql/Pg/950.data.seed-values.sql
===================================================================
--- branches/rel_1_6_0/Open-ILS/src/sql/Pg/950.data.seed-values.sql 2010-03-09 11:56:18 UTC (rev 15754)
+++ branches/rel_1_6_0/Open-ILS/src/sql/Pg/950.data.seed-values.sql 2010-03-09 12:04:40 UTC (rev 15755)
@@ -1548,8 +1548,11 @@
INSERT INTO permission.grp_perm_map (grp, perm, depth, grantable) VALUES (7, (SELECT id FROM permission.perm_list WHERE code = 'ADMIN_FUND'), 1, false);
INSERT INTO permission.grp_perm_map (grp, perm, depth, grantable) VALUES (7, (SELECT id FROM permission.perm_list WHERE code = 'ADMIN_CURRENCY_TYPE'), 1, false);
+-- Ability to import a record with a different TCN
+INSERT INTO permission.perm_list (code, description) VALUES ('ALLOW_ALT_TCN', 'Allows staff to import a record using an alternate TCN to avoid conflicts');
+
-- Ability to merge users
-INSERT INTO permission.perm_list (code) VALUES ('MERGE_USERS');
+INSERT INTO permission.perm_list (code, description) VALUES ('MERGE_USERS', 'Allows user records to be merged');
-- Trigger event definition permissions
INSERT INTO permission.perm_list (code, description) VALUES ('ADMIN_TRIGGER_EVENT_DEF', 'Allow a user to administer trigger event definitions');
More information about the open-ils-commits
mailing list