From 418905f04aa8d1d44000a64fc259849f3ea16d3f Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Mon, 30 Aug 2010 15:10:56 +0000 Subject: [PATCH] 2010-08-30 Sergio Martin * operation/agentes/alerts_status.php: Fixed the ACLs in the alerts view. Now only are showed the alerts of the visible agents for the user git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3192 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 6 ++++++ pandora_console/operation/agentes/alerts_status.php | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 4beb8345f6..f8a92e0f6e 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2010-08-30 Sergio Martin + + * operation/agentes/alerts_status.php: Fixed the + ACLs in the alerts view. Now only are showed the + alerts of the visible agents for the user + 2010-08-30 Sergio Martin * operation/users/user.php diff --git a/pandora_console/operation/agentes/alerts_status.php b/pandora_console/operation/agentes/alerts_status.php index ff7a06944d..c3288afa68 100644 --- a/pandora_console/operation/agentes/alerts_status.php +++ b/pandora_console/operation/agentes/alerts_status.php @@ -73,7 +73,8 @@ else { return; } - $agents = false; + $agents = array_keys(get_group_agents(array_keys(get_user_groups($config["id_user"], 'AR', false)))); + $idGroup = $id_group; $print_agent = true;