Bug 643: Followup: Display override button only if issuing staff member has force_che...
commitbc9d12e68ffa846f7a7a8dba5c98752398c2c257
authorMarc Véron <veron@veron.ch>
Tue, 29 Jul 2014 19:46:26 +0000 (29 21:46 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 31 Oct 2014 18:15:39 +0000 (31 15:15 -0300)
tree8cae9085064bbe0b29e833c0c028ab46fe1b650a
parentb1dc52395b280b8f244cbc59e5253d5e45137b17
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>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt