[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
Mon Jan 22 14:52:44 CET 2024


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

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

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

--- Comment #72 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 161240
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=161240&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

Signed-off-by: Andrew Fuerste-Henry <andrewfh at dubcolib.org>
Signed-off-by: Emmi Takkinen <emmi.takkinen at koha-suomi.fi>
Signed-off-by: Victor Grousset/tuxayo <victor at tuxayo.net>
Signed-off-by: David Cook <dcook at prosentient.com.au>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

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


More information about the Koha-bugs mailing list