From b73275af69ce4f8edfe660ef32680d35711480c7 Mon Sep 17 00:00:00 2001 From: Ramon Novoa Date: Mon, 21 Feb 2011 11:26:42 +0000 Subject: [PATCH] 2011-02-21 Ramon Novoa * operation/agentes/alerts_status.php: Fixed ACL check for alerts. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3934 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 4 ++++ pandora_console/operation/agentes/alerts_status.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 30a86147d9..190d58e907 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,7 @@ +2011-02-21 Ramon Novoa + + * operation/agentes/alerts_status.php: Fixed ACL check for alerts. + 2011-02-19 Junichi Satoh * godmode/agentes/configurar_agente.php: Fixed bad layout when diff --git a/pandora_console/operation/agentes/alerts_status.php b/pandora_console/operation/agentes/alerts_status.php index bca101cff2..70683e7681 100644 --- a/pandora_console/operation/agentes/alerts_status.php +++ b/pandora_console/operation/agentes/alerts_status.php @@ -52,7 +52,7 @@ $idAgent = get_parameter_get('id_agente', 0); if ($idAgent != 0) { $url = $url.'&id_agente='.$idAgent; - $id_group = get_group_agents ($idAgent); + $id_group = get_agent_group ($idAgent); if (give_acl ($config["id_user"], $id_group, "AR") == 0) { pandora_audit("ACL Violation","Trying to access alert view");