diff options
author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-03-06 13:52:47 +0000 |
---|---|---|
committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-03-06 13:52:47 +0000 |
commit | c051cc2a78c7685e482c8c85e3979c6335826083 (patch) | |
tree | 98ee3f062af2e0ca01037c69b93e8fd1f809c889 | |
parent | 4b79250425757d15a3803d74f3fbe9c8cfe749eb (diff) | |
download | zabbix-c051cc2a78c7685e482c8c85e3979c6335826083.tar.gz zabbix-c051cc2a78c7685e482c8c85e3979c6335826083.tar.xz zabbix-c051cc2a78c7685e482c8c85e3979c6335826083.zip |
- permission check in HTTP Monitoring (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5458 97f52cf1-0a1b-0410-bd0e-c28be96e8082
-rw-r--r-- | frontends/php/httpmon.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/httpmon.php b/frontends/php/httpmon.php index af62418f..dd1247e7 100644 --- a/frontends/php/httpmon.php +++ b/frontends/php/httpmon.php @@ -94,7 +94,7 @@ include_once "include/page_header.php"; $cmbGroup = new CComboBox("groupid",$_REQUEST["groupid"],"submit();"); $cmbGroup->AddItem(0,S_ALL_SMALL); - $accessible_hosts = get_accessible_hosts_by_user($USER_DETAILS,PERM_READ_WRITE,null,null,get_current_nodeid()); + $accessible_hosts = get_accessible_hosts_by_user($USER_DETAILS,PERM_READ_LIST,null,null,get_current_nodeid()); $accessible_groups = get_accessible_groups_by_user($USER_DETAILS,PERM_READ_LIST, null, null, get_current_nodeid()); $result=DBselect('select distinct g.groupid,g.name from groups g, hosts_groups hg, hosts h, '. |