2011-08-17 Sancho Lerena <slerena@artica.es>
* operation/snmpconsole/snmp_view.php: Fixed small ACL bug. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4756 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
a9a7f38041
commit
7abe40f849
|
@ -1,3 +1,7 @@
|
|||
2011-08-17 Sancho Lerena <slerena@artica.es>
|
||||
|
||||
* operation/snmpconsole/snmp_view.php: Fixed small ACL bug.
|
||||
|
||||
2011-08-17 Dario Rodriguez <dario.rodriguez@artica.es>
|
||||
|
||||
* include/functions_networkmap.php: Fixed a bug with topology map
|
||||
|
|
|
@ -398,7 +398,7 @@ if ($traps !== false) {
|
|||
// Agent matching source address
|
||||
$agent = agents_get_agent_with_ip ($trap['source']);
|
||||
if ($agent === false) {
|
||||
if (! check_acl ($config["id_user"], 0, "AW")) {
|
||||
if (! check_acl ($config["id_user"], 0, "AR")) {
|
||||
continue;
|
||||
}
|
||||
$data[1] = '<a href="index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&new_agent=1&direccion='.$trap["source"].'" title="'.__('Create agent').'">'.$trap["source"].'</a>';
|
||||
|
|
Loading…
Reference in New Issue