]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 5 Jun 2018 10:17:25 +0000 (11:17 +0100)
commit82908dc5bfa387742e2130330fdf1664b9d69c88
tree23fe716258cbb4687d3bc816c06958eaec0cc49b
parentb5d2f2cee12e02d5f578b66247a71f3975190835
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>
koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc