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:15:47 +0000 (15:15 -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>

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

index 37a8b9b..41eb5fe 100644 (file)
@@ -1566,7 +1566,7 @@ INSERT INTO permission.perm_list ( id, code, description ) VALUES
     'Allows staff to manage search filter groups and entries', 'ppl', 'description' )),
  ( 538, 'VIEW_SEARCH_FILTER_GROUP', oils_i18n_gettext( 538,
     'Allows staff to view search filter groups and entries', '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';