[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 Nov 30 16:19:10 CET 2023


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

--- Comment #22 from Andrew Fuerste-Henry <andrewfh at dubcolib.org> ---
I feel like this permission should be grouped with the other borrowers
permissions, rather than set off as its own top-level permission.

I created a user with only catalogue, circulate_remaining_permissions, and
list_borrowers. I was able to check out to a patron using either their
cardnumber or name to find them and when I entered a name which found more than
one patron I was able to access the patron search screen to select the correct
patron. So that all worked as desired.

A couple of minor things seem off, though, both on the member.pl search results
page:
 - clicking a patron name in the results list takes one to
cgi-bin/koha/members/moremember.pl, a page one would otherwise not be able to
access with only list_borrowers

- while on member.pl or moremember.pl as a user with only list_borrowers
permission, the Search Patrons feature in the main search bar is only partially
disabled -- the Search Patrons option still appears, but when it is selected
the search box disappears, thereby preventing the search. This is a visually
confusing approach and becomes more confusing if one clicks around between the
options here, as the search box will reappear when something other than Search
Patrons is selected. See the attached screenshot in which the interface is
simultaneously indicating both Check Out and Search Patrons. Can we remove
Search Patrons from this bar entirely if the user lacks that permission?

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


More information about the Koha-bugs mailing list