Bug 35469: Add 'manage_bookings' permission to biblios/checkouts
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 19 Dec 2023 13:30:14 +0000 (13:30 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 11 Mar 2024 10:22:54 +0000 (11:22 +0100)
commit118012dcd8a5327824427788ffdf7be3d8b99553
treebe94fbd41d666256f43f3a7b0e296be8518f32ae
parent0d028159e5c9d6e08a5da1cdeedfeafb33377937
Bug 35469: Add 'manage_bookings' permission to biblios/checkouts

This patch adds the manage_bookings subpermission check to the
biblios/{biblio_id}/checkouts endpoint and updates the corresponding
unit test too.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 5e0afb772a4a2b100ee14c1da0c323fcc32d0fb2)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
api/v1/swagger/paths/biblios.yaml
t/db_dependent/api/v1/biblios.t