From 3b13d8d14a2df5bc0fa4e68b07b87127df844171 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 12 Sep 2023 10:25:36 +0100 Subject: [PATCH] Bug 34287: Add check on public availability endpoint A quick check for patron equals current user in the public availability endpoint. --- api/v1/swagger/paths/checkouts.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/v1/swagger/paths/checkouts.yaml b/api/v1/swagger/paths/checkouts.yaml index cd07123aff1..f38c1e25e65 100644 --- a/api/v1/swagger/paths/checkouts.yaml +++ b/api/v1/swagger/paths/checkouts.yaml @@ -411,3 +411,5 @@ description: Under maintenance schema: $ref: "../swagger.yaml#/definitions/error" + x-koha-authorization: + allow-owner: true -- 2.41.0