]> git.koha-community.org Git - koha.git/commit
Bug 3886: Fix mismatch of required permissions for printing slips
authorKatrin Fischer <katrin.fischer.83@web.de>
Wed, 16 May 2018 00:45:02 +0000 (02:45 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 6 Jun 2018 11:52:10 +0000 (13:52 +0200)
commit4cc1972a2c992299609b62d8497c0b23e50aac86
tree2b948dc30c2db50cc0381477f65eb752ab098f6d
parent04c0ff5fdb49ff4be9bfb49543672dda7151c61c
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 <charles.farmer@inLibro.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 82908dc5bfa387742e2130330fdf1664b9d69c88)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc