]> git.koha-community.org Git - koha.git/commit
Bug 30207: Librarians with only "place_holds" permission can no longer update hold...
authorKyle Hall <kyle@bywatersolutions.com>
Tue, 1 Mar 2022 16:49:49 +0000 (11:49 -0500)
committerFridolin Somers <fridolin.somers@biblibre.com>
Sat, 14 May 2022 01:41:55 +0000 (15:41 -1000)
commit3a13667ad32c56577db6a8e075a4cea5512eed8a
treeeec433d38f48de3e2fdbcc5d9d74e1e0147abae0
parent84f7b7a7a38dff121f5f8b7d891632108edb218d
Bug 30207: Librarians with only "place_holds" permission can no longer update hold pickup locations

Bug 29540 increased the flags required to for modreserve.pl, but in doing so created a situation where a library can select a different pickup location for a hold, but upon clicking the "Update hold(s)" button, will be logged out due to having insufficient permissions for modreserve.pl.

Test Plan:
1) Create a librarian with "place_holds" permissions, but not "modify_holds_priority".
2) Place a hold for a patron
3) Attempt to change the pickup location from request.pl
4) Note you get logged out with a permissions error
5) Apply this patch
6) Restart all the things!
7) Attempt to change the pickup location from request.pl
8) This time it should succeed!

Signed-off-by: Christopher Brannon <cbrannon@cdalibrary.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
reserve/modrequest.pl