From c27ac9a0e0c1a17b30f2e4eee38aa28ca7dffb9f Mon Sep 17 00:00:00 2001 From: samucarc Date: Thu, 18 Oct 2018 16:34:54 +0200 Subject: [PATCH] Fixed centralized management in nodes --- pandora_console/godmode/menu.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pandora_console/godmode/menu.php b/pandora_console/godmode/menu.php index 8ad895ff35..71fac6bf03 100644 --- a/pandora_console/godmode/menu.php +++ b/pandora_console/godmode/menu.php @@ -120,7 +120,9 @@ if (check_acl ($config['id_user'], 0, "AW")) { $sub2["godmode/massive/massive_operations&tab=massive_users"]["text"] = __('Users operations'); } $sub2["godmode/massive/massive_operations&tab=massive_alerts"]["text"] = __('Alerts operations'); - enterprise_hook('massivepolicies_submenu'); + if ($config["centralized_management"] != 1) { + enterprise_hook('massivepolicies_submenu'); + } enterprise_hook('massivesnmp_submenu'); enterprise_hook('massivesatellite_submenu');