From 82908dc5bfa387742e2130330fdf1664b9d69c88 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 Signed-off-by: Jonathan Druart Signed-off-by: Nick Clemens Signed-off-by: Martin Renvoize --- 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 9b5524d4c1..1897af77ae 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.39.5