Bug 35381 - Add list_borrowers permission for viewing patron data
Summary: Add list_borrowers permission for viewing patron data
Status: RESOLVED DUPLICATE of bug 30230
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-21 23:56 UTC by David Cook
Modified: 2023-12-04 22:56 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***