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> |
||
|---|---|---|
| .. | ||
| atomicupdate | ||
| db_revs | ||
| en | ||
| localization | ||
| mandatory | ||
| backfill_statistics.pl | ||
| fix_unclosed_nonaccruing_fines_bug17135.pl | ||
| kohastructure.sql | ||
| labels_upgrade.pl | ||
| needs_update.pl | ||
| patroncards_upgrade.pl | ||
| update22to30.pl | ||
| updatedatabase.pl | ||