]> git.koha-community.org Git - koha.git/commit
Bug 31793: (QA follow-up) Require editauthorities flag
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 6 Mar 2023 20:39:14 +0000 (17:39 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 10 Mar 2023 13:21:19 +0000 (10:21 -0300)
commitb70ce9dcadd3fdfaad89ea27dc7bdb10acf4880c
tree41006a64d57c3428ebbb0f07153e1786fba80532
parentb9d8e6be11dd6404c101ba328c45e141b2f9d37f
Bug 31793: (QA follow-up) Require editauthorities flag

This patch makes the route require the right permissions. Tests are
adjusted to reflect this new situation.

To test:
1. Apply this patch
2. Run:
   $ ktd --shell
  k$ prove t/db_dependent/api/v1/authorities.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
api/v1/swagger/paths/authorities.yaml
t/db_dependent/api/v1/authorities.t