diff options
author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-02-29 16:41:02 +0000 |
---|---|---|
committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-02-29 16:41:02 +0000 |
commit | 48bf9f1fdfb9a2a59af061fd315fd0aaccbebea8 (patch) | |
tree | 5a81dcb290e3629ab8089dd23877e57ffe4d1417 /frontends/php/popup.php | |
parent | b5a144efdcb98a88e296c97219bec2c00e6e83e9 (diff) | |
download | zabbix-48bf9f1fdfb9a2a59af061fd315fd0aaccbebea8.tar.gz zabbix-48bf9f1fdfb9a2a59af061fd315fd0aaccbebea8.tar.xz zabbix-48bf9f1fdfb9a2a59af061fd315fd0aaccbebea8.zip |
- added sysmaps permission check in popup.php (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5426 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/popup.php')
-rw-r--r-- | frontends/php/popup.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/frontends/php/popup.php b/frontends/php/popup.php index a019b157..f555909d 100644 --- a/frontends/php/popup.php +++ b/frontends/php/popup.php @@ -1066,6 +1066,9 @@ include_once "include/page_header.php"; $result=DBselect($sql); while($row=DBfetch($result)){ + + if(!sysmap_accessiable($row["sysmapid"],PERM_READ_ONLY)) continue; + $row['node_name'] = isset($row['node_name']) ? '('.$row['node_name'].') ' : ''; $name = $row['node_name'].$row['name']; |