Bug 35468: Correct api bookings permission

At some point during development we migrated from 'parameters' to
'circulate' for the manage_bookings sub-permission. Unfortunately, the
corresponsing API definition missed the update.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Martin Renvoize 2023-12-12 13:10:29 +00:00 committed by Katrin Fischer
parent 6f45fd4574
commit 21f341c1e0
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 3 additions and 3 deletions

View File

@ -115,7 +115,7 @@
- bookings
x-koha-authorization:
permissions:
parameters: manage_bookings
circulate: manage_bookings
x-mojo-to: Bookings#add
'/bookings/{booking_id}':
delete:
@ -152,7 +152,7 @@
- bookings
x-koha-authorization:
permissions:
parameters: manage_bookings
circulate: manage_bookings
x-mojo-to: Bookings#delete
get:
operationId: getBooking
@ -230,5 +230,5 @@
- bookings
x-koha-authorization:
permissions:
parameters: manage_bookings
circulate: manage_bookings
x-mojo-to: Bookings#update