diff --git a/pandora_console/godmode/agentes/module_manager.php b/pandora_console/godmode/agentes/module_manager.php index 3cb5ce9787..0be7b555c7 100644 --- a/pandora_console/godmode/agentes/module_manager.php +++ b/pandora_console/godmode/agentes/module_manager.php @@ -769,7 +769,17 @@ if ($modules !== false) { } if (check_acl_one_of_groups($config['id_user'], $all_groups, 'AW') === true) { - $data[0] .= ''; + if ($isFunctionPolicies !== ENTERPRISE_NOT_HOOK) { + $linked = policies_is_module_linked($module['id_agente_modulo']); + $adopt = policies_is_module_adopt($module['id_agente_modulo']); + if ($linked !== false && $adopt === false) { + $data[0] .= ''; + } else { + $data[0] .= ''; + } + } else { + $data[0] .= ''; + } } if ((bool) $module['disabled'] === true) {