Wip command center
This commit is contained in:
parent
3a85c69043
commit
a996c272e4
|
@ -38,6 +38,14 @@ if (!check_acl($config['id_user'], 0, 'UM')) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (is_management_allowed() === false) {
|
||||||
|
ui_print_warning_message(
|
||||||
|
__('This node is configured with centralized mode. All profiles user information is read only. Go to metaconsole to manage it.')
|
||||||
|
);
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
require_once 'include/functions_agents.php';
|
require_once 'include/functions_agents.php';
|
||||||
require_once 'include/functions_alerts.php';
|
require_once 'include/functions_alerts.php';
|
||||||
require_once $config['homedir'].'/include/functions_profile.php';
|
require_once $config['homedir'].'/include/functions_profile.php';
|
||||||
|
|
|
@ -38,6 +38,14 @@ if (! check_acl($config['id_user'], 0, 'UM')) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (is_management_allowed() === false) {
|
||||||
|
ui_print_warning_message(
|
||||||
|
__('This node is configured with centralized mode. All profiles user information is read only. Go to metaconsole to manage it.')
|
||||||
|
);
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
require_once 'include/functions_agents.php';
|
require_once 'include/functions_agents.php';
|
||||||
require_once 'include/functions_alerts.php';
|
require_once 'include/functions_alerts.php';
|
||||||
require_once $config['homedir'].'/include/functions_profile.php';
|
require_once $config['homedir'].'/include/functions_profile.php';
|
||||||
|
|
Loading…
Reference in New Issue