Koha-clms/api/v1/swagger
Jonathan Druart 0df90fcc5a Bug 27117: Only place_holds permission is needed to adjust pickup locations
The GET /pickup_locations route is requesting the whole reserveforothers
permission whereas only the subpermission place_holds is needed.

Test plan:
0. Don't apply this patch
1. Set the subpermission place_holds but modify_holds_priority
2. Edit a hold and click the pickup library dropdown list
3. You get a JS alert and log displays
  GET /api/v1/app.pl/api/v1/holds/5/pickup_locations
  403 Forbidden
4. Apply this patch
5. Reload the page, click the dropdown list, modify the pickup location
and save
=> Success!

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 69c01ee0f2)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 05ba6b702e)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
2020-12-28 15:25:04 +00:00
..
definitions Bug 26271: Add null to the list of accepted account_line data types 2020-09-14 21:35:32 +00:00
parameters Bug 17268: (follow-up) Fix translatability 2020-05-04 08:26:22 +01:00
paths Bug 27117: Only place_holds permission is needed to adjust pickup locations 2020-12-28 15:25:04 +00:00
definitions.json Bug 17268: Advanced cataloging editor macros - add endpoint 2020-05-04 08:25:21 +01:00
parameters.json Bug 17268: Advanced cataloging editor macros - add endpoint 2020-05-04 08:25:21 +01:00
paths.json Bug 26988: Add API route to fetch hold pickup locations and use it in the holds table 2020-12-08 16:51:27 +00:00
swagger.json Bug 18137: Remove x-mojo-around-action 2017-09-21 11:27:05 -03:00
x-primitives.json Bug 17268: Advanced cataloging editor macros - add endpoint 2020-05-04 08:25:21 +01:00