From bc9d12e68ffa846f7a7a8dba5c98752398c2c257 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marc=20V=C3=A9ron?= Date: Tue, 29 Jul 2014 21:46:26 +0200 Subject: [PATCH] Bug 643: Followup: Display override button only if issuing staff member has force_checkout permission To test: Apply first patch Apply this patch Log in as superlibrarian Go to Home > Patrons > Set permissions for issuing staff member Disable circulate - force_checkout Log in as issuing staff member Try to checkout to a debarred patron => should not be possible Log in again as superlibrarian Enable circulate - force_checkout for issuing staff member Log in as issuing staff_member Try to checkout to a debarred person => You should get the button 'Override debarment temporarily' Signed-off-by: Aleisha Signed-off-by: Nick Clemens Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index 8419ccbec8..a9ea8f54ed 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -628,7 +628,7 @@ No patron matched [% message %] -[% IF (noissues && borrowernumber) %] +[% IF (noissues && borrowernumber && CAN_user_circulate_force_checkout) %] -- 2.39.5