[Koha-bugs] [Bug 32502] Getting patrons/{patron_id} via REST API requires edit_borrowers permission

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 21 18:00:13 CET 2022


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

--- Comment #1 from Matt Blenkinsop <matt.blenkinsop at ptfs-europe.com> ---
Created attachment 144783
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=144783&action=edit
Bug 32502: Api call to patrons/{patron_id} permission change

The API permissions for GET patrons/{patron_id} required staff to have
edit_borrowers permission rather than view_borrower_infos_from_any_libraries.
This has now been changed to allow staff to access patrons through the API.

Test plan:
1) From a staff account that does not have edit_borrowers permission, make a
request to patrons/{patron_id}
2) The request should be rejected
3) Apply patch
4) Repeat the request
5) The request should return the data for the patron requested

-- 
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