From d16b87254955b7a2807878d1b1577815c0a9f920 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 14 Dec 2023 17:43:17 +0000 Subject: [PATCH] Bug 35574: Correct api permission for listing biblio specific bookings To test: 1 - Follow above plan and apply only first patch 2 - Not the table does not load (403: Forbidden) 3 - Apply this patch 4 - Reload 5 - Success! Signed-off-by: Martin Renvoize Signed-off-by: Nick Clemens Signed-off-by: Tomas Cohen Arazi --- api/v1/swagger/paths/biblios.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v1/swagger/paths/biblios.yaml b/api/v1/swagger/paths/biblios.yaml index 9d7b80ef78c..17a5ffc11f0 100644 --- a/api/v1/swagger/paths/biblios.yaml +++ b/api/v1/swagger/paths/biblios.yaml @@ -340,7 +340,7 @@ $ref: ../swagger.yaml#/definitions/error x-koha-authorization: permissions: - circulation: "1" + circulate: "manage_bookings" "/biblios/{biblio_id}/checkouts": get: x-mojo-to: Biblios#get_checkouts -- 2.43.0