Merge branch '2658_Operaciones_masicas_sobre_politicas_2_open' into 'develop'
Fixed minor error See merge request artica/pandorafms!2079 Former-commit-id: 3eaab74701477c29e800f25eca6b163b7416b3db
This commit is contained in:
commit
efdfd7c3f4
|
@ -32,6 +32,14 @@ enterprise_include ('godmode/massive/massive_operations.php');
|
|||
$tab = (string) get_parameter ('tab', 'massive_agents');
|
||||
$option = (string) get_parameter ('option', '');
|
||||
|
||||
if ($tab == 'massive_policies' && is_central_policies_on_node()){
|
||||
ui_print_warning_message(__('This node is configured with centralized mode. All policies information is read only. Go to metaconsole to manage it.'));
|
||||
db_pandora_audit("ACL Violation",
|
||||
"Trying to access massive operation section");
|
||||
require ("general/noaccess.php");
|
||||
return;
|
||||
}
|
||||
|
||||
$options_alerts = array(
|
||||
'add_alerts' => __('Bulk alert add'),
|
||||
'delete_alerts' => __('Bulk alert delete'),
|
||||
|
|
Loading…
Reference in New Issue