]> git.koha-community.org Git - koha.git/commit
Bug 15289 - borrowers permission allows to see patron's loans
authorAlex Arnaud <alex.arnaud@biblibre.com>
Tue, 15 Dec 2015 13:11:54 +0000 (14:11 +0100)
committerJulian Maurice <julian.maurice@biblibre.com>
Thu, 31 Dec 2015 08:43:28 +0000 (09:43 +0100)
commit4635b255ab98fdb4804c2bcb2f308ff722d7639c
treea74a6aff521d4ed278ae29d5154d263bd461bcdd
parentd5fd02e4a17383e984c31e427dc2c64ce4726b51
 Bug 15289 - borrowers permission allows to see patron's loans

Test plan:

 - log with a user that have "borrowers" permission but not "Remaining circulation permissions"
 - go to a borrower's detail page (who has at least a loan) and click on "show checkouts"
 - check that you see loan(s) and that you can't renew and checkin

 - Do the same with a borrower that have "Remaining circulation permissions"
 - check that you see loan(s) and that you can renew and checkin

Followed test plan. Works as expected.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit eb5fca30aa7005afaa34d394e1115eead969271b)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table.inc
koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc
koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt
svc/checkouts