[Koha-bugs] [Bug 28157] Add the ability to set a library from which an API request pretends to come from
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Apr 20 21:14:04 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28157
David Nind <david at davidnind.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #119925|0 |1
is obsolete| |
--- Comment #7 from David Nind <david at davidnind.com> ---
Created attachment 119930
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=119930&action=edit
Bug 28157: Add Koha::Patron->can_log_into
This patch adds a new method that tells if the patron is allowed to be
logged into certain library.
To test:
1. Apply this patch
2. Run:
$ kshell
k$ prove t/db_dependent/api/v1/auth_authenticate_api_request.t
=> SUCCESS: Tests pass!
3. Sign off :-D
Signed-off-by: David Nind <david at davidnind.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list