Recon-task ACL changed. Ticket #2179

This commit is contained in:
Arturo Gonzalez Diaz 2015-07-23 16:30:15 +02:00
parent 0c161cf7e9
commit 697357b0a3
1 changed files with 1 additions and 6 deletions

View File

@ -295,12 +295,7 @@ if ($result !== false) {
foreach ($result as $row) {
if (in_array($row["id_group"], $user_groups_r)){
$data = array();
if (in_array($row["id_group"], $user_groups_w)){
$data[0] = '<a href="index.php?sec=gservers&sec2=godmode/servers/manage_recontask_form&crt=update&update='.$row["id_rt"].'&upd='.$row["id_rt"].'"><b>'.$row["name"].'</b></a>';
}
else{
$data[0] = $row["name"];
}
$data[0] = $row["name"];
if ($row["id_recon_script"] == 0)
$data[1] = $row["subnet"];
else