minor fix acl check in notifications
Former-commit-id: 3ee0004f0c8ab507ed2301b77117ca945fb4e826
This commit is contained in:
parent
46af41a2cc
commit
34cf0bd837
|
@ -32,12 +32,6 @@ require_once $config['homedir'].'/include/functions_notifications.php';
|
|||
|
||||
check_login();
|
||||
|
||||
if (! check_acl($config['id_user'], 0, 'PM') && ! is_user_admin($config['id_user'])) {
|
||||
db_pandora_audit('ACL Violation', 'Trying to access Setup Management');
|
||||
include 'general/noaccess.php';
|
||||
return;
|
||||
}
|
||||
|
||||
// AJAX actions.
|
||||
$source = get_parameter('source', '');
|
||||
$users = get_parameter('users', '');
|
||||
|
|
Loading…
Reference in New Issue