From 5de6af04c741f2972b116da0bc31ff8b150580d5 Mon Sep 17 00:00:00 2001 From: Lebbeous Fogle-Weekley Date: Tue, 11 Sep 2012 12:07:13 -0400 Subject: [PATCH] Permission fixing Signed-off-by: Lebbeous Fogle-Weekley --- Open-ILS/src/sql/Pg/950.data.seed-values.sql | 14 ++++++---- .../src/sql/Pg/upgrade/ZZZZ.data.url_verify.sql | 31 +++++++++++++++------- 2 files changed, 31 insertions(+), 14 deletions(-) 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 a1de894785..12613702d5 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -1571,7 +1571,11 @@ INSERT INTO permission.perm_list ( id, code, description ) VALUES ( 540, 'URL_VERIFY', oils_i18n_gettext( 540, 'Allows a user to process and verify ULSs', 'ppl', 'description')), ( 541, 'URL_VERIFY_UPDATE_SETTINGS', oils_i18n_gettext( 541, - 'Allows a user to configure URL verification org unit settings', 'ppl', 'description')) + 'Allows a user to configure URL verification org unit settings', 'ppl', 'description')), + ( 542, 'SAVED_FILTER_DIALOG_FILTERS', oils_i18n_gettext( 542, + 'Allows users to save and load sets of filters for filter dialogs, available in certain staff interfaces', 'ppl', 'description')) + + ; @@ -11877,7 +11881,7 @@ INSERT INTO config.org_unit_setting_type 'description' ), 'integer', - 540 + 541 ); INSERT INTO config.org_unit_setting_type @@ -11898,7 +11902,7 @@ INSERT INTO config.org_unit_setting_type 'description' ), 'integer', - 540 + 541 ); INSERT INTO config.org_unit_setting_type @@ -11919,7 +11923,7 @@ INSERT INTO config.org_unit_setting_type 'description' ), 'integer', - 540 + 541 ); @@ -11941,7 +11945,7 @@ INSERT INTO config.org_unit_setting_type 'description' ), 'integer', - 540 + 541 ); INSERT INTO config.filter_dialog_interface (key, description) VALUES ( diff --git a/Open-ILS/src/sql/Pg/upgrade/ZZZZ.data.url_verify.sql b/Open-ILS/src/sql/Pg/upgrade/ZZZZ.data.url_verify.sql index 2bec396d0e..bb585172e4 100644 --- a/Open-ILS/src/sql/Pg/upgrade/ZZZZ.data.url_verify.sql +++ b/Open-ILS/src/sql/Pg/upgrade/ZZZZ.data.url_verify.sql @@ -6,10 +6,10 @@ BEGIN; INSERT INTO permission.perm_list (id, code, description) VALUES ( - 539, + 540, 'URL_VERIFY', oils_i18n_gettext( - 539, + 540, 'Allows a user to process and verify ULSs', 'ppl', 'description' @@ -19,10 +19,10 @@ INSERT INTO permission.perm_list (id, code, description) INSERT INTO permission.perm_list (id, code, description) VALUES ( - 540, - 540, + 541, + 'URL_VERIFY_UPDATE_SETTINGS', oils_i18n_gettext( - 540, + 541, 'Allows a user to configure URL verification org unit settings', 'ppl', 'description' @@ -30,6 +30,19 @@ INSERT INTO permission.perm_list (id, code, description) ); +INSERT INTO permission.perm_list (id, code, description) + VALUES ( + 542, + 'SAVED_FILTER_DIALOG_FILTERS', + oils_i18n_gettext( + 542, + 'Allows users to save and load sets of filters for filter dialogs, available in certain staff interfaces', + 'ppl', + 'description' + ) + ); + + INSERT INTO config.settings_group (name, label) VALUES ( 'url_verify', @@ -59,7 +72,7 @@ INSERT INTO config.org_unit_setting_type 'description' ), 'integer', - 540 + 541 ); INSERT INTO config.org_unit_setting_type @@ -80,7 +93,7 @@ INSERT INTO config.org_unit_setting_type 'description' ), 'integer', - 540 + 541 ); INSERT INTO config.org_unit_setting_type @@ -101,7 +114,7 @@ INSERT INTO config.org_unit_setting_type 'description' ), 'integer', - 540 + 541 ); @@ -123,7 +136,7 @@ INSERT INTO config.org_unit_setting_type 'description' ), 'integer', - 540 + 541 ); -- 2.11.0