[Koha-bugs] [Bug 18403] Hide patron information if not part of the logged in user library group

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 10 23:33:27 CEST 2017


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

--- Comment #15 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 62024
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=62024&action=edit
Bug 18403: Add new methods Koha::Patrons->search_limited and use it where
needed

Most of the time when we search for patrons we do not want to search for all
patrons,
but just the ones the logged in user is allowed to see the information.
This patch takes care of that by adding a new search_limited method to
Koha::Patrons.
When called this method only search for patrons that the logged in user is
allowed
to see.

Test plan:
Patron autocomplete search should be limited

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


More information about the Koha-bugs mailing list