mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
fixed acl error in events list pandora_enterprise#9794
This commit is contained in:
parent
240bab48ec
commit
4385442690
@ -1657,8 +1657,7 @@ function events_get_all(
|
||||
return $sql;
|
||||
}
|
||||
|
||||
if (!$user_is_admin) {
|
||||
// XXX: Confirm there's no extra grants unhandled!.
|
||||
if (!$user_is_admin && users_can_manage_group_all('ER') === false) {
|
||||
$can_manage = '0 as user_can_manage';
|
||||
if (empty($EM_groups) === false) {
|
||||
$can_manage = sprintf(
|
||||
|
Loading…
x
Reference in New Issue
Block a user