From: Chris Sharp Date: Sun, 10 Nov 2019 19:31:48 +0000 (-0500) Subject: LP#1842297 - Add ADMIN_OPENATHENS perm to perm list X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=91efca56b4a406fbbc29b9f47b85565da5c4ece3;p=working%2FEvergreen.git LP#1842297 - Add ADMIN_OPENATHENS perm to perm list Signed-off-by: Chris Sharp --- 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 32dcd0fffa..b5c7303469 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -1933,7 +1933,9 @@ INSERT INTO permission.perm_list ( id, code, description ) VALUES ( 618, 'CREATE_PRECAT', oils_i18n_gettext(618, 'Allows a user to create a pre-catalogued copy', 'ppl', 'description')), ( 619, 'EDIT_SELF_IN_CLIENT', oils_i18n_gettext(619, - 'Allow a user to edit their own account in the staff client', 'ppl', 'description')) + 'Allow a user to edit their own account in the staff client', 'ppl', 'description')), + ( 620, 'ADMIN_OPENATHENS', oils_i18n_gettext(620, + 'Allow a user to administer OpenAthens authentication service', 'ppl', 'description')) ; diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.openathens_identity.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.openathens_identity.sql index e43010d478..a6a93658fb 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.openathens_identity.sql +++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.openathens_identity.sql @@ -51,4 +51,9 @@ CREATE TABLE config.openathens_identity ( release_home_ou BOOL NOT NULL DEFAULT false ); + +INSERT INTO permission.perm_list ( id, code, description) VALUES + ( 620, 'ADMIN_OPENATHENS', oils_i18n_gettext(620, + 'Allow a user to administer OpenAthens authentication service', 'ppl', 'description')); + COMMIT;