Bug 35381

Summary: Add list_borrowers permission for viewing patron data
Product: Koha Reporter: David Cook <dcook>
Component: PatronsAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: emmi.takkinen, gmcharlt, kyle.m.hall
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29509
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30230
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description David Cook 2023-11-21 23:56:19 UTC
Currently, we need the "edit_borrowers" to view patron data, but this causes users to need an excessive level of permission to just view data. 

Let's add a "list_borrowers" subpermission so that a user can view the patron information but not add/update patrons.
Comment 1 David Cook 2023-11-21 23:58:09 UTC
We'd need to add a new subpermission "list_borrowers", enable this subpermission for any user with edit_borrowers currently. 

Then we need to make sure the /api/v1/patrons endpoint will allow retrieval of data for this "list_borrowers" subpermission. We'll probably also want the "view patron" page to appear for this subpermission.

Am I missing anything?
Comment 2 David Cook 2023-12-04 22:56:48 UTC

*** This bug has been marked as a duplicate of bug 30230 ***