diff options
| author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-10-23 07:34:27 +0000 |
|---|---|---|
| committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-10-23 07:34:27 +0000 |
| commit | 28a09ed13e41ddbe5e30d63e92a1f5fb3395ef89 (patch) | |
| tree | 8281ccd48964ee0dd11c5ea689091fa3cef706fb /frontends/php/include/profiles.inc.php | |
| parent | 495799b2aa61aab23d74d7faa110a0cd09d59bf0 (diff) | |
- developed group permission system (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@3371 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/profiles.inc.php')
| -rw-r--r-- | frontends/php/include/profiles.inc.php | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/frontends/php/include/profiles.inc.php b/frontends/php/include/profiles.inc.php index 87ee793a..8e1e341b 100644 --- a/frontends/php/include/profiles.inc.php +++ b/frontends/php/include/profiles.inc.php @@ -25,13 +25,6 @@ $hostid,$devicetype,$name,$os,$serialno,$tag,$macaddress, $hardware,$software,$contact,$location,$notes) { - // If user has update permission then ok - if(!check_right("Host","U",0)) - { - error("Insufficient permissions"); - return 0; - } - $result=DBexecute("select * from hosts_profiles where hostid=$hostid"); if(DBfetch($result)) { @@ -53,11 +46,6 @@ function delete_host_profile($hostid) { - if(!check_right("Host","U",0)) - { - error("Insufficient permissions"); - return 0; - } $result=DBexecute("delete from hosts_profiles where hostid=$hostid"); return $result; |
