From 377512ab03f4c353263c80f2224d6dddc5d59b3e Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 15 Dec 2023 11:37:43 +0000 Subject: [PATCH] Bug 35469: Allow fetching checkouts on API This patch adds the 'manage_bookings' permission to allow fetching of checkouts on the API should the user have 'manage_bookings' but not have 'circulate_remaining_permissions' --- api/v1/swagger/paths/checkouts.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/v1/swagger/paths/checkouts.yaml b/api/v1/swagger/paths/checkouts.yaml index f38c1e25e65..5964f61cb74 100644 --- a/api/v1/swagger/paths/checkouts.yaml +++ b/api/v1/swagger/paths/checkouts.yaml @@ -59,7 +59,8 @@ $ref: "../swagger.yaml#/definitions/error" x-koha-authorization: permissions: - circulate: circulate_remaining_permissions + - circulate: circulate_remaining_permissions + - circulate: manage_bookings post: x-mojo-to: Checkouts#add operationId: addCheckout -- 2.43.0