2011-02-21 Ramon Novoa <rnovoa@artica.es>

* 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
This commit is contained in:
Ramon Novoa 2011-02-21 11:26:42 +00:00
parent 6a55c96223
commit b73275af69
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2011-02-21 Ramon Novoa <rnovoa@artica.es>
* operation/agentes/alerts_status.php: Fixed ACL check for alerts.
2011-02-19 Junichi Satoh <junichi@rworks.jp>
* godmode/agentes/configurar_agente.php: Fixed bad layout when

View File

@ -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");