[open-ils-commits] r15710 - branches/rel_1_6_0/Open-ILS/src/sql/Pg (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Mar 5 11:41:48 EST 2010


Author: dbs
Date: 2010-03-05 11:41:45 -0500 (Fri, 05 Mar 2010)
New Revision: 15710

Modified:
   branches/rel_1_6_0/Open-ILS/src/sql/Pg/950.data.seed-values.sql
Log:
Add the ADMIN_TRIGGER_EVENT_DEF permission to the perm_list so folks have a chance of administering trigger event definitions

Still need to grant the privilege to a group


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-05 15:49:39 UTC (rev 15709)
+++ branches/rel_1_6_0/Open-ILS/src/sql/Pg/950.data.seed-values.sql	2010-03-05 16:41:45 UTC (rev 15710)
@@ -1381,8 +1381,6 @@
 INSERT INTO permission.perm_list (code) VALUES ('UPDATE_ORG_UNIT_SETTING.cat.bib.alert_on_empty');
 INSERT INTO permission.perm_list (code) VALUES ('UPDATE_ORG_UNIT_SETTING.patron.password.use_phone');
 
-
-
 INSERT INTO permission.grp_tree (id, name, parent, description, perm_interval, usergroup, application_perm) VALUES
 	(1, oils_i18n_gettext(1, 'Users', 'pgt', 'name'), NULL, NULL, '3 years', FALSE, 'group_application.user');
 INSERT INTO permission.grp_tree (id, name, parent, description, perm_interval, usergroup, application_perm) VALUES
@@ -1553,6 +1551,9 @@
 -- Ability to merge users
 INSERT INTO permission.perm_list (code) VALUES ('MERGE_USERS');
 
+-- Trigger event definition permissions
+INSERT INTO permission.perm_list (code, description) VALUES ('ADMIN_TRIGGER_EVENT_DEF', 'Allow a user to administer trigger event definitions');
+
 -- Admin user account
 INSERT INTO actor.usr ( profile, card, usrname, passwd, first_given_name, family_name, dob, master_account, super_user, ident_type, ident_value, home_ou ) VALUES ( 1, 1, 'admin', 'open-ils', 'Administrator', 'System Account', '1979-01-22', TRUE, TRUE, 1, 'identification', 1 );
 



More information about the open-ils-commits mailing list