]> 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)
committerNick Clemens <nick@bywatersolutions.com>
Tue, 29 May 2018 13:52:34 +0000 (13:52 +0000)
commitdb5628e7710325766e25648615c772d200348116
tree06e2300d96114d59f49aa7c26fafac3f49776360
parent08c731f6da8ccb470e473bd089bc7e27289632ee
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>
koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc