https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32971
--- Comment #3 from Jonathan Druart <[email protected]> --- (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. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
