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:
parent
6f45fd4574
commit
21f341c1e0
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue