SQL: address missing booking perms
authorChris Sharp <csharp@georgialibraries.org>
Mon, 11 Jan 2021 17:56:34 +0000 (12:56 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Mon, 8 Nov 2021 14:56:36 +0000 (09:56 -0500)
Open-ILS/src/sql/Pg/version-upgrade/pines-post-3.6-upgrade.sql

index 264d921..8d6c1ef 100644 (file)
@@ -40,4 +40,14 @@ CREATE OR REPLACE VIEW reporter.asset_call_number_dewey AS
   FROM asset.call_number
   WHERE call_number_dewey(label) ~ '^[0-9]'::text;
 
+
+--SELECT evergreen.upgrade_deps_block_check('1238', :eg_version);
+
+INSERT INTO permission.perm_list ( id, code, description ) VALUES
+ ( 625, 'VIEW_BOOKING_RESERVATION', oils_i18n_gettext(625,
+    'View booking reservations', 'ppl', 'description')),
+ ( 626, 'VIEW_BOOKING_RESERVATION_ATTR_MAP', oils_i18n_gettext(626,
+    'View booking reservation attribute maps', 'ppl', 'description'))
+;
+
 COMMIT;