Fixed problems with user have AR bit and add column that didn't see in module and alerts list. Ticket: #4193
This commit is contained in:
parent
0b5d8831df
commit
ddf4366017
|
@ -783,9 +783,6 @@ if ($list_modules) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
|
||||||
$data[0] = '';
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($isFunctionPolicies !== ENTERPRISE_NOT_HOOK) {
|
if ($isFunctionPolicies !== ENTERPRISE_NOT_HOOK) {
|
||||||
if ($module["id_policy_module"] != 0) {
|
if ($module["id_policy_module"] != 0) {
|
||||||
|
|
|
@ -815,7 +815,6 @@ function ui_format_alert_row ($alert, $agent = true, $url = '', $agent_style = f
|
||||||
|
|
||||||
if (!defined('METACONSOLE')) {
|
if (!defined('METACONSOLE')) {
|
||||||
// Force alert execution
|
// Force alert execution
|
||||||
$data[$index['force_execution']] = '';
|
|
||||||
if (check_acl ($config["id_user"], $id_group, "AW") || check_acl ($config["id_user"], $id_group, "LM")) {
|
if (check_acl ($config["id_user"], $id_group, "AW") || check_acl ($config["id_user"], $id_group, "LM")) {
|
||||||
if ($alert["force_execution"] == 0) {
|
if ($alert["force_execution"] == 0) {
|
||||||
$data[$index['force_execution']] =
|
$data[$index['force_execution']] =
|
||||||
|
|
Loading…
Reference in New Issue