LP#1842297 - Add ADMIN_OPENATHENS perm to perm list user/csharp/lp1842297_openathens_integration
authorChris Sharp <csharp@georgialibraries.org>
Sun, 10 Nov 2019 19:31:48 +0000 (14:31 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Sun, 10 Nov 2019 19:35:24 +0000 (14:35 -0500)
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.openathens_identity.sql

index 32dcd0f..b5c7303 100644 (file)
@@ -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'))
 ;
 
 
index e43010d..a6a9365 100644 (file)
@@ -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;