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)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Thu, 7 Mar 2024 16:35:40 +0000 (17:35 +0100)
commit5e0afb772a4a2b100ee14c1da0c323fcc32d0fb2
treecb00f9ab59868c7b7c3dad5abb083344a989fccc
parent30b3a8c3820245c5b639818b0515f9c25c47b2c5
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>
api/v1/swagger/paths/biblios.yaml
t/db_dependent/api/v1/biblios.t