diff --git a/pandora_console/godmode/groups/tactical.php b/pandora_console/godmode/groups/tactical.php index 352da1bdcd..74c8158ad2 100644 --- a/pandora_console/godmode/groups/tactical.php +++ b/pandora_console/godmode/groups/tactical.php @@ -30,16 +30,8 @@ global $config; check_login(); -if (! check_acl($config['id_user'], 0, 'PM')) { - db_pandora_audit( - AUDIT_LOG_ACL_VIOLATION, - 'Trying to access Group Management' - ); - include 'general/noaccess.php'; - return; -} -$id_group = get_parameter('id', ''); +$id_group = get_parameter('id_group', ''); if (empty($id_group) === true) { return; } diff --git a/pandora_console/include/functions_graph.php b/pandora_console/include/functions_graph.php index 4ccde63e98..d1cd1c2083 100644 --- a/pandora_console/include/functions_graph.php +++ b/pandora_console/include/functions_graph.php @@ -5418,14 +5418,7 @@ function graph_events_agent_by_group($id_group, $width=300, $height=200, $noWate define('NUM_PIECES_PIE_2', 6); // Add tags condition to filter. - $tags_condition = tags_get_acl_tags( - $config['id_user'], - 0, - 'ER', - 'event_condition', - 'AND' - ); - + $tags_condition = ''; if ($time_limit && $config['event_view_hr']) { $tags_condition .= ' AND utimestamp > (UNIX_TIMESTAMP(NOW()) - '.($config['event_view_hr'] * SECONDS_1HOUR).')'; }