Merge branch 'ent-9794-14509-permisos-sobre-acciones-de-eventos-usuario' into 'develop'
fixed acl error in events list pandora_enterprise#9794 See merge request artica/pandorafms!5260
This commit is contained in:
commit
0a8405bc29
|
@ -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…
Reference in New Issue