Bugzilla – Attachment 159734 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.34 KB, created by
Martin Renvoize (ashimema)
on 2023-12-12 13:12:02 UTC
(
hide
)
Description:
Bug 35468: Correct api bookings permission
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2023-12-12 13:12:02 UTC
Size:
1.34 KB
patch
obsolete
>From 85ebb2d6034efb499040d909837bef65d1a916c9 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. >--- > 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