From 780c4bbbd4404ff8fd7d224ef47ddfdbf2c736fb Mon Sep 17 00:00:00 2001 From: dbs Date: Wed, 27 May 2009 03:56:59 +0000 Subject: [PATCH] Create the MFHD perms and assign them by default to Cataloguers git-svn-id: svn://svn.open-ils.org/ILS/trunk@13248 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/sql/Pg/950.data.seed-values.sql | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/sql/Pg/950.data.seed-values.sql b/Open-ILS/src/sql/Pg/950.data.seed-values.sql index 8eb6cfd31..9bbd9f68d 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -1215,7 +1215,11 @@ INSERT INTO permission.perm_list VALUES (195, 'VIEW_PURCHASE_ORDER', oils_i18n_gettext(195, 'Allows a user to view a purchase order', 'ppl', 'description')), (196, 'IMPORT_ACQ_LINEITEM_BIB_RECORD', oils_i18n_gettext(196, 'Allows a user to import a bib record from the acq staging area (on-order record) into the ILS bib data set', 'ppl', 'description')), (197, 'RECEIVE_PURCHASE_ORDER', oils_i18n_gettext(197, 'Allows a user to mark a purchase order, lineitem, or individual copy as received', 'ppl', 'description')), - (198, 'VIEW_ORG_SETTINGS', oils_i18n_gettext(198, 'Allows a user to view all org settings at the specified level', 'ppl', 'description')); + (198, 'VIEW_ORG_SETTINGS', oils_i18n_gettext(198, 'Allows a user to view all org settings at the specified level', 'ppl', 'description')), + (199, 'CREATE_MFHD_RECORD', oils_i18n_gettext(199, 'Allows a user to create a new MFHD record', 'ppl', 'description')), + (200, 'UPDATE_MFHD_RECORD', oils_i18n_gettext(200, 'Allows a user to update an MFHD record', 'ppl', 'description')), + (201, 'DELETE_MFHD_RECORD', oils_i18n_gettext(201, 'Allows a user to delete an MFHD record', 'ppl', 'description')) +; SELECT SETVAL('permission.perm_list_id_seq'::TEXT, (SELECT MAX(id) FROM permission.perm_list)); @@ -1506,6 +1510,9 @@ INSERT INTO permission.grp_perm_map VALUES (94, 5, 53, 0, false); INSERT INTO permission.grp_perm_map VALUES (133, 5, 102, 0, false); INSERT INTO permission.grp_perm_map VALUES (138, 5, 104, 1, false); INSERT INTO permission.grp_perm_map VALUES (143, 3, 198, 1, false); +INSERT INTO permission.grp_perm_map VALUES (144, 4, 199, 1, false); +INSERT INTO permission.grp_perm_map VALUES (145, 4, 200, 1, false); +INSERT INTO permission.grp_perm_map VALUES (146, 4, 201, 1, false); SELECT SETVAL('permission.grp_perm_map_id_seq'::TEXT, (SELECT MAX(id) FROM permission.grp_perm_map)); -- 2.11.0