]> git.koha-community.org Git - koha.git/commit
Bug 32122: Correct permissions check on item circulation alerts
authorNick Clemens <nick@bywatersolutions.com>
Mon, 7 Nov 2022 13:54:58 +0000 (13:54 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 7 Nov 2022 14:17:40 +0000 (11:17 -0300)
commit5d60b72bcc0d37146ad346ca3bbbabab807a4601
tree732a3e8fbaeaf03b0e07bccb7d3b058689e29642
parentee7234640b04806dd949f40e2a786c1359198837
Bug 32122: Correct permissions check on item circulation alerts

This patch changes the check from 'item_circ_alerts' to 'manage_item_circ_alerts'

To test:
1 - Give an account catalogue and manage_item_circ_alerts permissions
2 - Log in to staff client iwht this account
3 - Browse to Admin->Item circulation alerts
4 - Error, you do not have permission to view this page
5 - Apply patch
6 - Restart all
7 - Browse to page agian, success!

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
admin/item_circulation_alerts.pl