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>
This commit is contained in:
parent
ee7234640b
commit
5d60b72bcc
|
|
@ -41,7 +41,7 @@ sub show {
|
|||
template_name => "admin/item_circulation_alerts.tt",
|
||||
query => $input,
|
||||
type => "intranet",
|
||||
flagsrequired => { parameters => 'item_circ_alerts' },
|
||||
flagsrequired => { parameters => 'manage_item_circ_alerts' },
|
||||
debug => defined($input->param('debug')),
|
||||
}
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue