Merge branch 'ent-4197-#8171-Permisos-en-consolas-visuales-con-ACLS' into 'develop'

Fixed bug in visual consoles permissions with ACLS

See merge request artica/pandorafms!2492
This commit is contained in:
Alejandro Fraguas 2019-06-13 10:46:39 +02:00
commit fef1441d9f
1 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ if (check_acl($config['id_user'], 0, 'AR')) {
enterprise_hook('inventory_menu'); enterprise_hook('inventory_menu');
if ($config['activate_netflow'] || $config['activate_nta']) { if ($config['activate_netflow'] || $config['activate_nta']) {
$sub['network'] = [ $sub['network_traffic'] = [
'text' => __('Network'), 'text' => __('Network'),
'id' => 'Network', 'id' => 'Network',
'type' => 'direct', 'type' => 'direct',
@ -117,7 +117,7 @@ if (check_acl($config['id_user'], 0, 'AR')) {
); );
} }
$sub['network']['sub2'] = $netflow_sub; $sub['network_traffic']['sub2'] = $netflow_sub;
} }
if ($config['log_collector'] == 1) { if ($config['log_collector'] == 1) {