Bug 35468: (follow-up) Test only the specific permission needed
authorNick Clemens <nick@bywatersolutions.com>
Tue, 12 Dec 2023 16:52:14 +0000 (16:52 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Thu, 14 Dec 2023 15:29:19 +0000 (16:29 +0100)
commita2005cd32c99f92d5eb2d25b181f7be79f50b90c
treee1f628c0246a080bb486109431f03dc6fe58328d
parent68ff5edb1284bf73b7f7d5014401bae9442e4340
Bug 35468: (follow-up) Test only the specific permission needed

The tests were granting circulation top-level permissions - we should be able to
perform the actions with only 'manage_bookings'. This patch updates the tests to
use the narrower permission.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
t/db_dependent/api/v1/bookings.t