[Koha-bugs] [Bug 30230] Search for patrons in checkout should not require edit_borrowers permission

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 7 16:34:16 CET 2023


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

--- Comment #45 from Andrew Fuerste-Henry <andrewfh at dubcolib.org> ---
> Normally I've taken your comments into account and removed the "Search
> patrons" link from the main search bar... it's only accessible to members
> with 'catalog' permission. Unless I've misunderstood, but from my point of
> view, with a member who only has the 'list_borrowers' permission, this seems
> correct.

Hi Thibaud, thanks for your work here! This code will help us a lot.
That "Search Patrons" link still shows up and behaves oddly for someone with
just list_borrowers permission, but only in one little spot. To see it:
 - have an account with permissions "Staff access, allows viewing of catalogue
in staff interface (catalogue)", "Remaining circulation permissions
(circulate_remaining_permissions)", and "Search and list patrons
(list_borrowers)"

 - Go to the checkout screen on any patron record
(/cgi-bin/koha/circ/circulation.pl?borrowernumber=)

- Click "Routing Lists" in the menu on the left of the screen

- That takes you to /cgi-bin/koha/members/routing-lists.pl?borrowernumber=

- "Search patrons" shows in the search bar, with no search field displayed
while "Search patrons" is selected.

I realize this is a really minor display issue on one page few users look at.
I'm going to go ahead and sign off on this because it works in every other way.
I'm happy to sign off again if you have a chance to change that page, or we can
worry about it on a follow-up bug.

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


More information about the Koha-bugs mailing list