]> 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)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Wed, 30 Dec 2015 02:51:50 +0000 (02:51 +0000)
commiteb5fca30aa7005afaa34d394e1115eead969271b
tree6be98ffd5093a20b38a2fe54cb5ab608116f5391
parentaf7fb9cd48cdb47329e7b9bbe651e856e017aa13
 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>
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