Fixed the entry of recon task in the menu, now it is showed only for user with PM profile

This commit is contained in:
mdtrooper 2014-10-07 20:40:13 +02:00
parent 0423aa39da
commit 77cb3adcce
1 changed files with 6 additions and 2 deletions

View File

@ -57,10 +57,14 @@ if (check_acl ($config['id_user'], 0, "AR")) {
enterprise_hook ('services_menu');
enterprise_hook ('inventory_menu');
}
if (check_acl ($config['id_user'], 0, "PM")) {
$sub["operation/servers/recon_view"]["text"] = __('Recon view');
$sub["operation/servers/recon_view"]["refr"] = 0;
}
if (check_acl ($config['id_user'], 0, "AR")) {
if ($config['log_collector'] == 1) {
enterprise_hook ('log_collector_menu');
}