Bugzilla – Attachment 159793 Details for
Bug 35468
Bookings permission mismatch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35468: Correct api bookings permission
Bug-35468-Correct-api-bookings-permission.patch (text/plain), 1.45 KB, created by
Tomás Cohen Arazi (tcohen)
on 2023-12-13 12:44:33 UTC
(
hide
)
Description:
Bug 35468: Correct api bookings permission
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2023-12-13 12:44:33 UTC
Size:
1.45 KB
patch
obsolete
>From 96443d9e74c40cda71826eaf015b5da39d7b191f Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Tue, 12 Dec 2023 13:10:29 +0000 >Subject: [PATCH] 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> >--- > api/v1/swagger/paths/bookings.yaml | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/api/v1/swagger/paths/bookings.yaml b/api/v1/swagger/paths/bookings.yaml >index a83c89e5aea..f1dcb9f9be9 100644 >--- a/api/v1/swagger/paths/bookings.yaml >+++ b/api/v1/swagger/paths/bookings.yaml >@@ -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 >-- >2.43.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 35468
:
159734
|
159746
|
159754
|
159755
|
159756
|
159757
|
159789
|
159790
|
159791
|
159792
| 159793 |
159794
|
159795
|
159796
|
159881