summaryrefslogtreecommitdiffstats
path: root/frontends/php/sysmaps.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-06-11 13:06:35 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-06-11 13:06:35 +0000
commit412fd1bca83c5bb8229a9bfa3b9a77a5573db3ba (patch)
treedd9031b558ca80e00c862c95424d1dfe0297a92b /frontends/php/sysmaps.php
parent2d69d2f3070bc71ef09d064da117f69c14b8206d (diff)
downloadzabbix-412fd1bca83c5bb8229a9bfa3b9a77a5573db3ba.tar.gz
zabbix-412fd1bca83c5bb8229a9bfa3b9a77a5573db3ba.tar.xz
zabbix-412fd1bca83c5bb8229a9bfa3b9a77a5573db3ba.zip
- [DEV-178] improved the permissions scheme (not finished in DM) (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5758 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/sysmaps.php')
-rw-r--r--frontends/php/sysmaps.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/sysmaps.php b/frontends/php/sysmaps.php
index ac2090b8..7368239e 100644
--- a/frontends/php/sysmaps.php
+++ b/frontends/php/sysmaps.php
@@ -76,7 +76,7 @@ include_once "include/page_header.php";
show_messages($result,"Network map updated","Cannot update network map");
}
else {
- if(count(get_accessible_nodes_by_user($USER_DETAILS,PERM_READ_WRITE,PERM_MODE_LT,PERM_RES_IDS_ARRAY,get_current_nodeid())))
+ if(!count(get_accessible_nodes_by_user($USER_DETAILS,PERM_READ_WRITE,PERM_RES_IDS_ARRAY,get_current_nodeid())))
access_deny();
DBstart();