diff options
| author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-10-25 07:21:56 +0000 |
|---|---|---|
| committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-10-25 07:21:56 +0000 |
| commit | d23332dbc5dabb29dfec400d2d9ba782b46b5615 (patch) | |
| tree | 21d5823c2940c9ada032bc3650fac8423b266365 /frontends/php/include/actions.inc.php | |
| parent | 28a09ed13e41ddbe5e30d63e92a1f5fb3395ef89 (diff) | |
- developed node manager (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@3379 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/actions.inc.php')
| -rw-r--r-- | frontends/php/include/actions.inc.php | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/frontends/php/include/actions.inc.php b/frontends/php/include/actions.inc.php index ca0e28bb..47a771de 100644 --- a/frontends/php/include/actions.inc.php +++ b/frontends/php/include/actions.inc.php @@ -87,11 +87,7 @@ function add_action($actiontype,$userid,$subject,$message,$recipient,$maxrepeats,$repeatdelay,$status,$scripts) { -// if(!check_right_on_trigger("A",$triggerid)) -// { -// error("Insufficient permissions"); -// return 0; -// } + // TODO check permission by new value. if($actiontype == ACTION_TYPE_MESSAGE) { @@ -118,11 +114,8 @@ function update_action($actionid,$actiontype,$userid,$subject,$message,$recipient,$maxrepeats,$repeatdelay,$status,$scripts) { -// if(!check_right_on_trigger("U",$triggerid)) -// { -// error("Insufficient permissions"); -// return 0; -// } + // TODO check permission by new value. + if($actiontype == ACTION_TYPE_MESSAGE) { $scripts = ""; |
