[Koha-bugs] [Bug 21198] authenticate_api_request should stash the reason access is granted
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jan 7 14:30:25 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21198
--- Comment #2 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 83684
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=83684&action=edit
Bug 21198: Make authenticate_api_request stash the reason access is granted
This patch makes the authenticate_api_request method stash the reason
the request or has been granted access to the resource.
Possible values are:
- permissions
- owner
- guarantor
This will allow the controllers to avoid querying on their own for this
info.
To test:
- Run:
$ kshell
k$ prove t/db_dependent/api/v1/auth_authenticate_api_request.t
=> SUCCESS: Tests pass!
- Sign off :-D
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list