Not show Check ACL extension tab in agent view - #94
This commit is contained in:
parent
cdd2363912
commit
79b5f73844
|
@ -1152,7 +1152,7 @@ if (isset($ehorus_tab) && !empty($ehorus_tab)) {
|
||||||
|
|
||||||
//Tabs for extensions
|
//Tabs for extensions
|
||||||
foreach ($config['extensions'] as $extension) {
|
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'])) {
|
if (check_acl($config['id_user'], $id_grupo, $extension['extension_ope_tab']['acl'])) {
|
||||||
//VMware extension is only available for VMware OS
|
//VMware extension is only available for VMware OS
|
||||||
if ($extension['extension_ope_tab']['id'] === "vmware_manager") {
|
if ($extension['extension_ope_tab']['id'] === "vmware_manager") {
|
||||||
|
|
Loading…
Reference in New Issue