From 412fd1bca83c5bb8229a9bfa3b9a77a5573db3ba Mon Sep 17 00:00:00 2001 From: artem Date: Wed, 11 Jun 2008 13:06:35 +0000 Subject: - [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 --- frontends/php/sysmaps.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontends/php/sysmaps.php') 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(); -- cgit