</links>
<permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
<actions>
- <create permission="ADMIN_BOOKING_RESERVATION" global_required='true'/>
- <retrieve permission="STAFF_LOGIN" global_required='true'/>
- <update permission="ADMIN_BOOKING_RESERVATION" global_required='true'/>
- <delete permission="ADMIN_BOOKING_RESERVATION" global_required='true'/>
+ <create permission="ADMIN_BOOKING_RESERVATION" context_field="pickup_lib"/>
+ <retrieve permission="VIEW_BOOKING_RESERVATION" context_field="pickup_lib"/>
+ <update permission="ADMIN_BOOKING_RESERVATION" context_field="pickup_lib"/>
+ <delete permission="ADMIN_BOOKING_RESERVATION" context_field="pickup_lib"/>
</actions>
</permacrud>
</class>
</links>
<permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
<actions>
- <create permission="ADMIN_BOOKING_RESERVATION_ATTR_MAP" global_required='true'/>
- <retrieve permission="STAFF_LOGIN" global_required='true'/>
- <update permission="ADMIN_BOOKING_RESERVATION_ATTR_MAP" global_required='true'/>
- <delete permission="ADMIN_BOOKING_RESERVATION_ATTR_MAP" global_required='true'/>
+ <create permission="ADMIN_BOOKING_RESERVATION_ATTR_MAP">
+ <context link="reservation" field="pickup_lib"/>
+ </create>
+ <retrieve permission="VIEW_BOOKING_RESERVATION_ATTR_MAP">
+ <context link="reservation" field="pickup_lib"/>
+ </retrieve>
+ <update permission="ADMIN_BOOKING_RESERVATION_ATTR_MAP">
+ <context link="reservation" field="pickup_lib"/>
+ </update>
+ <delete permission="ADMIN_BOOKING_RESERVATION_ATTR_MAP">
+ <context link="reservation" field="pickup_lib"/>
+ </delete>
</actions>
</permacrud>
</class>
'Allows a user to configure Matomo Analytics org unit settings', 'ppl', 'description')),
( 624, 'MANAGE_RESERVES', oils_i18n_gettext(624,
'Allows user to manage Courses, Course Materials, and associate Users with Courses.', 'ppl', 'description'))
+ ( 625, 'VIEW_BOOKING_RESERVATION', oils_i18n_gettext(623,
+ 'View booking reservations', 'ppl', 'description')),
+ ( 626, 'VIEW_BOOKING_RESERVATION_ATTR_MAP', oils_i18n_gettext(624,
+ 'View booking reservation attribute maps', 'ppl', 'description'))
;
--- /dev/null
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
+
+INSERT INTO permission.perm_list ( id, code, description ) VALUES
+ ( 623, 'VIEW_BOOKING_RESERVATION', oils_i18n_gettext(623,
+ 'View booking reservations', 'ppl', 'description')),
+ ( 624, 'VIEW_BOOKING_RESERVATION_ATTR_MAP', oils_i18n_gettext(624,
+ 'View booking reservation attribute maps', 'ppl', 'description'))
+;
+
+COMMIT;