mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
Fixed minor error
Former-commit-id: 2af6e231aa20216a4601a8c1a03fa6828c989448
This commit is contained in:
parent
ca414d30b6
commit
eab744f65d
@ -32,6 +32,14 @@ enterprise_include ('godmode/massive/massive_operations.php');
|
|||||||
$tab = (string) get_parameter ('tab', 'massive_agents');
|
$tab = (string) get_parameter ('tab', 'massive_agents');
|
||||||
$option = (string) get_parameter ('option', '');
|
$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(
|
$options_alerts = array(
|
||||||
'add_alerts' => __('Bulk alert add'),
|
'add_alerts' => __('Bulk alert add'),
|
||||||
'delete_alerts' => __('Bulk alert delete'),
|
'delete_alerts' => __('Bulk alert delete'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user