<permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
<actions>
<create permission="ADMIN_BOOKING_RESOURCE_TYPE" context_field='owner'/>
- <retrieve/>
+ <retrieve permission="VIEW_BOOKING_RESOURCE_TYPE" context_field='owner'/>
<update permission="ADMIN_BOOKING_RESOURCE_TYPE" context_field='owner'/>
<delete permission="ADMIN_BOOKING_RESOURCE_TYPE" context_field='owner'/>
</actions>
<permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
<actions>
<create permission="ADMIN_BOOKING_RESOURCE" context_field='owner'/>
- <retrieve/>
+ <retrieve permission="VIEW_BOOKING_RESOURCE" context_field='owner'/>
<update permission="ADMIN_BOOKING_RESOURCE" context_field='owner'/>
<delete permission="ADMIN_BOOKING_RESOURCE" context_field='owner'/>
</actions>
( 619, 'EDIT_SELF_IN_CLIENT', oils_i18n_gettext(619,
'Allow a user to edit their own account in the staff client', 'ppl', 'description')),
( 620, 'UPDATE_ORG_UNIT_SETTING.opac.patron.custom_css', oils_i18n_gettext(620,
- 'Update CSS setting for the OPAC', 'ppl', 'description'))
+ 'Update CSS setting for the OPAC', 'ppl', 'description')),
+ ( 621, 'VIEW_BOOKING_RESOURCE_TYPE', oils_i18n_gettext(621,
+ 'View booking resource types', 'ppl', 'description')),
+ ( 622, 'VIEW_BOOKING_RESOURCE', oils_i18n_gettext(622,
+ 'View booking resources', 'ppl', 'description'))
;
'UPDATE_PAYMENT_NOTE',
'UPDATE_PICKUP_LIB FROM_TRANSIT',
'UPDATE_PICKUP_LIB_FROM_HOLDS_SHELF',
+ 'VIEW_BOOKING_RESOURCE',
+ 'VIEW_BOOKING_RESOURCE_TYPE',
'VIEW_GROUP_PENALTY_THRESHOLD',
'VIEW_STANDING_PENALTY',
'VOID_BILLING',
'UPDATE_PICKUP_LIB_FROM_HOLDS_SHELF',
'UPDATE_PICKUP_LIB_FROM_TRANSIT',
'UPDATE_USER',
+ 'VIEW_BOOKING_RESOURCE',
+ 'VIEW_BOOKING_RESOURCE_TYPE',
'VIEW_REPORT_OUTPUT',
'VIEW_STANDING_PENALTY',
'VOID_BILLING',
--- /dev/null
+BEGIN;
+SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
+
+INSERT INTO permission.perm_list ( id, code, description ) VALUES
+ ( 621, 'VIEW_BOOKING_RESOURCE_TYPE', oils_i18n_gettext(621,
+ 'View booking resource types', 'ppl', 'description')),
+ ( 622, 'VIEW_BOOKING_RESOURCE', oils_i18n_gettext(622,
+ 'View booking resources', 'ppl', 'description'))
+;
+
+COMMIT;