Wip command center

This commit is contained in:
Daniel Barbero Martin 2021-05-31 17:32:53 +02:00
parent 3a85c69043
commit a996c272e4
2 changed files with 16 additions and 0 deletions

View File

@ -38,6 +38,14 @@ if (!check_acl($config['id_user'], 0, 'UM')) {
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_alerts.php';
require_once $config['homedir'].'/include/functions_profile.php';

View File

@ -38,6 +38,14 @@ if (! check_acl($config['id_user'], 0, 'UM')) {
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_alerts.php';
require_once $config['homedir'].'/include/functions_profile.php';