]> git.koha-community.org Git - koha.git/commit
Bug 15788: Use delete_borrowers permission
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 12 Jan 2021 14:24:41 +0000 (14:24 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 21 Jun 2021 11:50:26 +0000 (13:50 +0200)
commit138fb47e1fe429d937a9d9aaa2c0588c14386bdb
tree4156f236d73f15ebbb36eae8488aa2b2aceb01c6
parentc782a03956307a44a3b7228cca0af11d29f033e3
Bug 15788: Use delete_borrowers permission

Link the new delete_borrowers sub-permission to the delete actions.

Test plan
1/ Remove the delete_borrowers permission from a staff user
2/ Check that the user cannot use the 'Delete' option from the members
menu.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc
koha-tmpl/intranet-tmpl/prog/en/includes/str/members-menu.inc
koha-tmpl/intranet-tmpl/prog/js/members-menu.js
members/deletemem.pl