Bug 35469: Add 'manage_bookings' subpermission to /checkouts
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 15 Dec 2023 11:37:43 +0000 (11:37 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 11 Mar 2024 10:22:54 +0000 (11:22 +0100)
commit0d028159e5c9d6e08a5da1cdeedfeafb33377937
tree7d381973d549a9f7a97682baac93e569fdfb8b50
parent9e50622d26b32e55c579feca79ebcfc1e86f7406
Bug 35469: Add 'manage_bookings' subpermission to /checkouts

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'

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 30b3a8c3820245c5b639818b0515f9c25c47b2c5)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
api/v1/swagger/paths/checkouts.yaml
t/db_dependent/api/v1/checkouts.t