[Koha-bugs] [Bug 32971] Access to ERM module requires 'erm' permission and 'vendors_manage' acquisition sub-permission

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 27 11:46:04 CEST 2023


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

--- Comment #3 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
(In reply to Jonathan Druart from comment #2)
> (In reply to Pedro Amorim from comment #1)
> > In order to add a user to an agreement (and license), the permission
> > edit_borrowers is required, or a 403 is returned.
> 
> Confirmed
> 
> "GET /api/v1/app.pl/api/v1/patrons/5 HTTP/1.1" 403 -
> "http://kohadev-intra.mydnsname.org:8081/cgi-bin/koha/erm/licenses/add"
> "Mozilla/5.0 (X11; Linux x86_64)

So basically we need a new endpoint /erm/users/:patron_id, or tweak
includes/patron-search.inc to inject all patron's info on the opener's DOM
instead of just the id (search for "selected_patron_id").

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


More information about the Koha-bugs mailing list