Bugzilla – Attachment 32121 Details for
Bug 643
Allow override of 'debarred' status
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 643: Followup: Display override button only if issuing staff member has force_checkout permission
PASSED-QA-Bug-643-Followup-Display-override-button.patch (text/plain), 1.73 KB, created by
Katrin Fischer
on 2014-10-09 22:52:14 UTC
(
hide
)
Description:
[PASSED QA] Bug 643: Followup: Display override button only if issuing staff member has force_checkout permission
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2014-10-09 22:52:14 UTC
Size:
1.73 KB
patch
obsolete
>From b41b86d5b92bce3742d20969df07c39e47443bd8 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Tue, 29 Jul 2014 21:46:26 +0200 >Subject: [PATCH] [PASSED QA] 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 <aleishaamohia@hotmail.com> >Signed-off-by: Nick Clemens <nick@quecheelibrary.org> >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >--- > 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 8bd3f3c..2e82ce5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -622,7 +622,7 @@ No patron matched <span class="ex">[% message %]</span> > > </ul> > >-[% IF (noissues && borrowernumber) %] >+[% IF (noissues && borrowernumber && CAN_user_circulate_force_checkout) %] > <div class="override_debarment"> > <a href="/cgi-bin/koha/circ/circulation.pl?forceallow=1&borrowernumber=[% borrowernumber %]" class="btn btn-small">Override debarment temporarily</a> > </div> >-- >1.9.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 643
:
9010
|
28453
|
28753
|
30715
|
30716
|
30726
|
30727
|
31564
|
31837
|
31997
|
31998
|
31999
|
32120
| 32121 |
32122
|
32925
|
32946