[Koha-bugs] [Bug 30207] Librarians with only "place_holds" permission can no longer update hold pickup locations

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 1 18:52:08 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30207

ByWater Sandboxes <bws.sandboxes at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #131203|0                           |1
        is obsolete|                            |

--- Comment #2 from ByWater Sandboxes <bws.sandboxes at gmail.com> ---
Created attachment 131205
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131205&action=edit
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 at cdalibrary.org>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list