Koha/t/db_dependent/api/v1
Jonathan Druart 69c01ee0f2 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>
2020-12-21 10:07:49 +01:00
..
acquisitions_funds.t
acquisitions_orders.t
acquisitions_vendors.t
advanced_editor_macros.t
auth.t
auth_authenticate_api_request.t
auth_basic.t
biblios.t
checkouts.t Bug 24083: (QA follow-up) Fix failing tests 2020-11-12 16:51:57 +01:00
cities.t
clubs_holds.t
holds.t Bug 27117: Only place_holds permission is needed to adjust pickup locations 2020-12-21 10:07:49 +01:00
illrequests.t
import_batch_profiles.t Bug 23019: (follow-up) Fix test permissions and API definition bugs 2020-11-11 15:55:49 +01:00
items.t
libraries.t
oauth.t
patrons.t Bug 14708: (QA follow-up) Add tests 2020-11-06 09:40:26 +01:00
patrons_accounts.t
patrons_password.t
return_claims.t
smtp_servers.t Bug 22343: Add exec flag on .t files 2020-10-05 11:14:32 +02:00
stockrotationstage.t