The restore functionality is a cataloguing operation and should live under the editcatalogue permission module (bit 9) rather than tools (bit 13), consistent with where it appears in the UI. Update all references: - userpermissions.sql and atomicupdate: module_bit 13 → 9 - Swagger x-koha-authorization: tools → editcatalogue - CGI flagsrequired: tools → editcatalogue - Templates: CAN_user_tools_records_restore → CAN_user_editcatalogue_records_restore - C4::Auth::get_cataloguing_page_permissions: remove from tools sub-perms list (editcatalogue '*' already covers it) - Tests: module_bit 13 → 9 Signed-off-by: Michaela <michaela.sieber@kit.edu> Sponsored-by: ByWater Solutions Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> |
||
|---|---|---|
| .. | ||
| audio_alerts.sql | ||
| auth_val_cat.sql | ||
| keyboard_shortcuts.sql | ||
| message_transport_types.sql | ||
| record_sources.sql | ||
| sample_notices_message_attributes.sql | ||
| sample_notices_message_transports.sql | ||
| subtag_registry.sql | ||
| sysprefs.sql | ||
| userflags.sql | ||
| userpermissions.sql | ||