Changed permissions to delete traps to IM - #4567

This commit is contained in:
Tatiana Llorente 2019-08-29 12:40:13 +02:00
parent 1c4b639deb
commit a9e02bbb41
1 changed files with 1 additions and 1 deletions

View File

@ -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> ';
}
}