diff options
author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-06-11 13:06:35 +0000 |
---|---|---|
committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-06-11 13:06:35 +0000 |
commit | 412fd1bca83c5bb8229a9bfa3b9a77a5573db3ba (patch) | |
tree | dd9031b558ca80e00c862c95424d1dfe0297a92b /frontends/php/sysmaps.php | |
parent | 2d69d2f3070bc71ef09d064da117f69c14b8206d (diff) | |
download | zabbix-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.php | 2 |
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(); |