[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 15:29:00 CET 2023


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

--- Comment #20 from Thibaud Guillot <thibaud.guillot at biblibre.com> ---
Created attachment 159409
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159409&action=edit
Bug 30230: Add new 'list_borrowers' permission

When a patron search is performed only a user with edit_borrowers
permission can search by name. Search can works only with cardnumber but
it makes searching less intuitive I think.

So, as mentioned in the discussion, I've added a new 'list_borrowers'
permission,
completely independent of 'edit_borrowers', so that I can search for a member
via the interface
and get the results. In addition to the permission to perform check in and
checkouts, this no longer poses an obstacle to simple use.

Test plan:

1) Check with a user without 'edit_borrowers' permission that the patron search
can only be performed with cardnumber
2) Apply this patch
3) Make the updatedatabase to add new 'list_borrowers' permissions
4) Set 'list_borrowers' permission on one user and see the difference

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


More information about the Koha-bugs mailing list