From 79b5f73844e3bcbf3cd8dfc1db2e148dc9b78f45 Mon Sep 17 00:00:00 2001 From: enriquecd Date: Tue, 14 Mar 2017 13:28:39 +0100 Subject: [PATCH] Not show Check ACL extension tab in agent view - #94 --- pandora_console/operation/agentes/ver_agente.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/operation/agentes/ver_agente.php b/pandora_console/operation/agentes/ver_agente.php index 024f54f922..9d6fe5a1b3 100644 --- a/pandora_console/operation/agentes/ver_agente.php +++ b/pandora_console/operation/agentes/ver_agente.php @@ -1152,7 +1152,7 @@ if (isset($ehorus_tab) && !empty($ehorus_tab)) { //Tabs for extensions foreach ($config['extensions'] as $extension) { - if (isset($extension['extension_ope_tab'])) { + if (isset($extension['extension_ope_tab']) && !isset($extension['extension_god_tab'])) { if (check_acl($config['id_user'], $id_grupo, $extension['extension_ope_tab']['acl'])) { //VMware extension is only available for VMware OS if ($extension['extension_ope_tab']['id'] === "vmware_manager") {