]> git.koha-community.org Git - koha.git/commit
Bug 18403: Add new method Koha::Patron->can_see_patrons_from
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 7 Apr 2017 17:00:34 +0000 (14:00 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 12 Feb 2018 18:41:40 +0000 (15:41 -0300)
commit38ae35332a60da74a69afb8765f8f2f3e870c11d
tree91db59b8b615cb64618bfa4ec1644a47e62a00c6
parent55544f0187545747b1fbc2ce74ed44517ba7ca2f
Bug 18403: Add new method Koha::Patron->can_see_patrons_from

Technical note:
Sometimes we do not have the patron object, for instance for the patron modifications
we will need to know if the logged in user can modify patron's from a given library.
This new subroutine 'can_see_patrons_from' will then be useful

Signed-off-by: Signed-off-by: Jon McGowan <jon.mcgowan@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Patron.pm