diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 25f7fe704f..b1cca0d1a5 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2012-04-26 Vanessa Gil + + * operation/events/events_list.php: The column to validate events + is shown for an Operator (only read) user. + 2012-04-26 Vanessa Gil * include/functions_filemanager.php: Changed all messages. diff --git a/pandora_console/operation/events/events_list.php b/pandora_console/operation/events/events_list.php index 2f8073e08a..682b6167d7 100644 --- a/pandora_console/operation/events/events_list.php +++ b/pandora_console/operation/events/events_list.php @@ -609,8 +609,10 @@ if ($i != 0) { $table->align[$i] = 'center'; $table->size[$i] = '80px'; $i++; - $table->head[$i] = html_print_checkbox ("allbox", "1", false, true); - $table->align[$i] = 'center'; + if (check_acl ($config["id_user"], $event["id_grupo"], "IW") == 1) { + $table->head[$i] = html_print_checkbox ("allbox", "1", false, true); + $table->align[$i] = 'center'; + } } $idx = 0; @@ -856,8 +858,10 @@ foreach ($result as $event) { } $i++; - //Checkbox - $data[$i] = html_print_checkbox_extended ("eventid[]", $event["id_evento"], false, false, false, 'class="chk"', true); + if (check_acl ($config["id_user"], $event["id_grupo"], "IW") == 1) { + //Checkbox + $data[$i] = html_print_checkbox_extended ("eventid[]", $event["id_evento"], false, false, false, 'class="chk"', true); + } array_push ($table->data, $data); }