[open-ils-commits] r10015 - branches/rel_1_2_2/Open-ILS/src/sql/Pg
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Jul 10 09:03:27 EDT 2008
Author: miker
Date: 2008-07-10 09:03:26 -0400 (Thu, 10 Jul 2008)
New Revision: 10015
Modified:
branches/rel_1_2_2/Open-ILS/src/sql/Pg/006.data.permissions.sql
Log:
adding DELETE_RECORD to the default permission set
Modified: branches/rel_1_2_2/Open-ILS/src/sql/Pg/006.data.permissions.sql
===================================================================
--- branches/rel_1_2_2/Open-ILS/src/sql/Pg/006.data.permissions.sql 2008-07-10 13:03:18 UTC (rev 10014)
+++ branches/rel_1_2_2/Open-ILS/src/sql/Pg/006.data.permissions.sql 2008-07-10 13:03:26 UTC (rev 10015)
@@ -166,8 +166,9 @@
INSERT INTO permission.perm_list VALUES (150, 'COPY_CIRC_NOT_ALLOWED.override', 'Allows a user to checkout an item that is marked as non-circ');
INSERT INTO permission.perm_list VALUES (151, 'DELETE_CONTAINER_ITEM', 'Allows a user to delete an item out of another user''s container');
INSERT INTO permission.perm_list VALUES (152, 'ASSIGN_WORK_ORG_UNIT', 'Allow a staff member to define where another staff member has their permissions');
+INSERT INTO permission.perm_list VALUES (153, 'DELETE_RECORD', 'Allow a staff member to directly remove a bibliographic record');
-SELECT SETVAL('permission.perm_list_id_seq'::TEXT, 152, TRUE);
+SELECT SETVAL('permission.perm_list_id_seq'::TEXT, (SELECT MAX(id) FROM permission.perm_list));
INSERT INTO permission.grp_tree (id, name, parent, description, perm_interval, usergroup, application_perm)
More information about the open-ils-commits
mailing list