Changed permissions to delete traps to IM - #4567
This commit is contained in:
parent
1c4b639deb
commit
a9e02bbb41
|
@ -921,7 +921,7 @@ if ($traps !== false) {
|
|||
}
|
||||
} else {
|
||||
$agent_trap_group = db_get_value('id_grupo', 'tagente', 'nombre', $trap['source']);
|
||||
if ((check_acl($config['id_user'], $agent_trap_group, 'AW'))) {
|
||||
if ((check_acl($config['id_user'], $agent_trap_group, 'IM'))) {
|
||||
$data[8] .= '<a href="'.$url_snmp.'&delete='.$trap['id_trap'].'&offset='.$offset.'" onClick="javascript:return confirm(\''.__('Are you sure?').'\')">'.html_print_image('images/cross.png', true, ['border' => '0', 'title' => __('Delete')]).'</a> ';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue