From acd94da0fc4b0535dfd2778af76312ea3cf6d51a Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Wed, 16 May 2018 02:45:02 +0200 Subject: [PATCH] Bug 3886: Fix mismatch of required permissions for printing slips - Print summary (summary-print.pl) - Print quick slip (printslip.pl) - Print slip (printslip.pl) - Print overdues (print_overdues.pl) Perl scripts all require circulate_remaining_permissions, while in the template we were checking for edit_borrowers. Now the print pull down will only be visible if the patron has circulate or circulate_remaining_permissions. To test: - Verify that printing the listed slips works for staff users with either circulate or circulate_remaining_permissions and without edit_borrowers. Signed-off-by: Charles Farmer --- koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc index 9b5524d..1897af7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc @@ -24,10 +24,11 @@ Duplicate [% END %] + [% IF CAN_user_circulate_circulate_remaining_permissions %]
+ [% END %] [% IF ( CAN_user_reserveforothers ) %] Search to hold -- 2.7.4