Update permission name to match existing ones
authorThomas Berezansky <tsbere@mvlc.org>
Thu, 16 Aug 2012 18:58:01 +0000 (14:58 -0400)
committerMike Rylander <mrylander@gmail.com>
Thu, 16 Aug 2012 19:18:59 +0000 (15:18 -0400)
To be consistent with our previous naming scheme for these.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Conflicts:
Open-ILS/src/sql/Pg/950.data.seed-values.sql

Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.data.copy_editor_perms.sql

index d740ec6..b7689d4 100644 (file)
@@ -1558,7 +1558,7 @@ INSERT INTO permission.perm_list ( id, code, description ) VALUES
     'Allows a user to create/retrieve/update/delete copy location groups', 'ppl', 'description' )), 
  ( 534, 'ADMIN_USER_ACTIVITY_TYPE', oils_i18n_gettext( 534,
     'Allows a user to create/retrieve/update/delete user activity types', 'ppl', 'description' )),
- ( 539, 'UPDATE_ui.hide_copy_editor_fields', oils_i18n_gettext( 539,
+ ( 539, 'UPDATE_ORG_UNIT_SETTING.ui.hide_copy_editor_fields', oils_i18n_gettext( 539,
     'Allows staff to edit displayed copy editor fields', 'ppl', 'description' ))
 ;
 
index 3bbc2bc..b9137b8 100644 (file)
@@ -1,6 +1,6 @@
 
 INSERT INTO permission.perm_list (id, code, description)
-    VALUES (539, 'UPDATE_ui.hide_copy_editor_fields', 'Allows staff to edit displayed copy editor fields');
+    VALUES (539, 'UPDATE_ORG_UNIT_SETTING.ui.hide_copy_editor_fields', 'Allows staff to edit displayed copy editor fields');
 
 UPDATE config.org_unit_setting_type SET update_perm = 539 WHERE name = 'ui.hide_copy_editor_fields';