summaryrefslogtreecommitdiffstats
path: root/frontends/php/tr_comments.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2002-09-08 09:10:20 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2002-09-08 09:10:20 +0000
commitc081bbde20e1f3c079f2c87b3f7cb9aad6e487dc (patch)
tree28482556f03b47f9691c7fdf7ae8f291c376d8cd /frontends/php/tr_comments.php
parent82ecd445bbaac3760436c4f1f9aa7be9319841e6 (diff)
downloadzabbix-c081bbde20e1f3c079f2c87b3f7cb9aad6e487dc.tar.gz
zabbix-c081bbde20e1f3c079f2c87b3f7cb9aad6e487dc.tar.xz
zabbix-c081bbde20e1f3c079f2c87b3f7cb9aad6e487dc.zip
- improvement in user rights handling routines (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@486 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/tr_comments.php')
-rw-r--r--frontends/php/tr_comments.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/frontends/php/tr_comments.php b/frontends/php/tr_comments.php
index 01704d33..38d2dbf3 100644
--- a/frontends/php/tr_comments.php
+++ b/frontends/php/tr_comments.php
@@ -5,6 +5,14 @@
include "include/config.inc.php";
show_header($page["title"],0,0);
?>
+<?
+ if(!check_right("Trigger comment","R",$HTTP_GET_VARS["triggerid"]))
+ {
+ show_table_header("<font color=\"AA0000\">No permissions !</font>");
+ show_footer();
+ exit;
+ }
+?>
<?
show_table_header("TRIGGER COMMENTS");