diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 185a8ede8f..003eaa740a 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2012-06-04 Vanessa Gil + + * godmode/alerts/alert_list.list.php: Fixed bug: + Standard user can not add actions to an alert. + 2012-06-04 Sergio Martin * include/functions_modules.php diff --git a/pandora_console/godmode/alerts/alert_list.list.php b/pandora_console/godmode/alerts/alert_list.list.php index 1453e0d36d..d92374d152 100644 --- a/pandora_console/godmode/alerts/alert_list.list.php +++ b/pandora_console/godmode/alerts/alert_list.list.php @@ -472,7 +472,7 @@ foreach ($simple_alerts as $alert) { $data[3] .= html_print_input_hidden ('add_action', 1, true); $data[3] .= html_print_input_hidden ('id_alert_module', $alert['id'], true); $own_info = get_user_info($config['id_user']); - $own_groups = users_get_groups($config['id_user'], 'LW', $own_info['is_admin']); + $own_groups = users_get_groups($config['id_user'], 'LW', true); $filter_groups = ''; $filter_groups = implode(',', array_keys($own_groups)); $actions = alerts_get_alert_actions_filter(true, 'id_group IN (' . $filter_groups . ')');