The description for the URL_VERIFY permission contained a typo, user/paxed/lp1189556
authorChris Sharp <csharp@georgialibraries.org>
Tue, 11 Jun 2013 14:09:20 +0000 (10:09 -0400)
committerPasi Kallinen <pasi.kallinen@pttk.fi>
Mon, 15 Jul 2013 08:55:07 +0000 (11:55 +0300)
fixed here.

Added an upgrade sql to update the text.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.data.url-verify-permission-typo.sql [new file with mode: 0644]

index 0afe779..499b3c1 100644 (file)
@@ -1580,7 +1580,7 @@ INSERT INTO permission.perm_list ( id, code, description ) VALUES
  ( 542, 'ADMIN_TOOLBAR_FOR_USER', oils_i18n_gettext( 542,
         'Allows a user to create, edit, and delete custom toolbars for users', 'ppl', 'description')),
  ( 543, 'URL_VERIFY', oils_i18n_gettext( 543, 
-    'Allows a user to process and verify ULSs', 'ppl', 'description')),
+    'Allows a user to process and verify URLs', 'ppl', 'description')),
  ( 544, 'URL_VERIFY_UPDATE_SETTINGS', oils_i18n_gettext( 544, 
     'Allows a user to configure URL verification org unit settings', 'ppl', 'description')),
  ( 545, 'SAVED_FILTER_DIALOG_FILTERS', oils_i18n_gettext( 545,
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.url-verify-permission-typo.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.url-verify-permission-typo.sql
new file mode 100644 (file)
index 0000000..05a1709
--- /dev/null
@@ -0,0 +1,9 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
+
+UPDATE permission.perm_list
+SET description = 'Allows a user to process and verify URLs'
+WHERE code = 'URL_VERIFY';
+
+COMMIT;