summaryrefslogtreecommitdiffstats
path: root/frontends/php/hosts.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-02-12 14:49:58 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-02-12 14:49:58 +0000
commit21ec4e8c5a6add1fa22ca6f2eb4330ea2411dc0f (patch)
treef3a62639ecbb0f2533e6123dac0d3c50e701b28a /frontends/php/hosts.php
parent44c297403e8be585e6dd89ccfee7990dad1feadf (diff)
downloadzabbix-21ec4e8c5a6add1fa22ca6f2eb4330ea2411dc0f.tar.gz
zabbix-21ec4e8c5a6add1fa22ca6f2eb4330ea2411dc0f.tar.xz
zabbix-21ec4e8c5a6add1fa22ca6f2eb4330ea2411dc0f.zip
- fixed permissions for hosts
git-svn-id: svn://svn.zabbix.com/trunk@3822 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/hosts.php')
-rw-r--r--frontends/php/hosts.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/frontends/php/hosts.php b/frontends/php/hosts.php
index a65cf8a1..2418fa69 100644
--- a/frontends/php/hosts.php
+++ b/frontends/php/hosts.php
@@ -35,12 +35,10 @@ include_once "include/page_header.php";
$available_hosts = get_accessible_hosts_by_user($USER_DETAILS,PERM_READ_WRITE,null,PERM_RES_IDS_ARRAY,$ZBX_CURNODEID);
if(isset($_REQUEST["hostid"]) && $_REQUEST["hostid"] > 0 && !in_array($_REQUEST["hostid"], $available_hosts))
{
- SDI('deni1');
access_deny();
}
if(isset($_REQUEST["apphostid"]) && $_REQUEST["apphostid"] > 0 && !in_array($_REQUEST["apphostid"], $available_hosts))
{
- SDI('deni2');
access_deny();
}
@@ -52,7 +50,6 @@ include_once "include/page_header.php";
if(!in_array($_REQUEST["groupid"], get_accessible_groups_by_user($USER_DETAILS,PERM_READ_WRITE,null,
PERM_RES_IDS_ARRAY,$ZBX_CURNODEID)))
{
- SDI('deni3');
access_deny();
}
}