[Koha-bugs] [Bug 27117] Staff without modify_holds_priority permission can't update hold pick-up from biblio
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Dec 1 11:54:52 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27117
Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #114063|0 |1
is obsolete| |
--- Comment #2 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 114064
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114064&action=edit
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!
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list