mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
Merge branch 'ent-11431-problemas-con-permisos-para-ver-alertas' into 'develop'
Ent 11431 problemas con permisos para ver alertas See merge request artica/pandorafms!6016
This commit is contained in:
commit
6518f81cfe
@ -259,7 +259,6 @@ if ($access_console_node === true) {
|
|||||||
|
|
||||||
if ((bool) check_acl($config['id_user'], 0, 'LW') === true
|
if ((bool) check_acl($config['id_user'], 0, 'LW') === true
|
||||||
|| (bool) check_acl($config['id_user'], 0, 'LM') === true
|
|| (bool) check_acl($config['id_user'], 0, 'LM') === true
|
||||||
|| (bool) check_acl($config['id_user'], 0, 'AD') === true
|
|
||||||
) {
|
) {
|
||||||
$menu_godmode['galertas']['text'] = __('Alerts');
|
$menu_godmode['galertas']['text'] = __('Alerts');
|
||||||
$menu_godmode['galertas']['sec2'] = 'godmode/alerts/alert_list';
|
$menu_godmode['galertas']['sec2'] = 'godmode/alerts/alert_list';
|
||||||
|
@ -271,7 +271,6 @@ if ((bool) check_acl($config['id_user'], $id_group, 'LW') === true || (bool) che
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((bool) check_acl($config['id_user'], $id_group, 'AW') === true || (bool) check_acl($config['id_user'], $id_group, 'LM') === true) {
|
|
||||||
array_push(
|
array_push(
|
||||||
$column_names,
|
$column_names,
|
||||||
['text' => 'Module'],
|
['text' => 'Module'],
|
||||||
@ -293,7 +292,6 @@ if ((bool) check_acl($config['id_user'], $id_group, 'AW') === true || (bool) che
|
|||||||
['last_fired'],
|
['last_fired'],
|
||||||
['status']
|
['status']
|
||||||
);
|
);
|
||||||
}
|
|
||||||
|
|
||||||
if (is_metaconsole() === false) {
|
if (is_metaconsole() === false) {
|
||||||
if ((bool) check_acl($config['id_user'], $id_group, 'LW') === true || (bool) check_acl($config['id_user'], $id_group, 'LM') === true) {
|
if ((bool) check_acl($config['id_user'], $id_group, 'LW') === true || (bool) check_acl($config['id_user'], $id_group, 'LM') === true) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user