Koha-clms/api/v1/swagger
Tomas Cohen Arazi 6aadbcc4be Bug 22227: Make GET /cities staff only
This patch removes the possibility to access the city objects without
privileged access (minimum permissions == catalogue).

It does so by adding the required permissions to the spec. The tests are
adjusted.

To test:
- Apply this patch
- Run:
  $ kshell
 k$ prove t/db_dependent/api/v1/cities.t
=> SUCCESS: Tests pass!
- Sign off :-D

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-02-15 18:42:46 +00:00
..
definitions Bug 21786: (QA follow-up) library_id can be null 2019-01-08 15:50:51 +00:00
parameters Bug 19784: Adapt /v1/patrons to new naming guidelines 2018-03-29 11:42:08 -03:00
paths Bug 22227: Make GET /cities staff only 2019-02-15 18:42:46 +00:00
definitions.json Bug 20944: OpenAPI spec for /patrons/{patron_id}/account/credits 2018-08-31 12:46:59 +00:00
parameters.json Bug 19784: Adapt /v1/patrons to new naming guidelines 2018-03-29 11:42:08 -03:00
paths.json Bug 22061: OpenAPI spec 2019-01-28 15:45:55 +00:00
swagger.json Bug 18137: Remove x-mojo-around-action 2017-09-21 11:27:05 -03:00
x-primitives.json Bug 19784: Adapt /v1/patrons to new naming guidelines 2018-03-29 11:42:08 -03:00