summaryrefslogtreecommitdiffstats
path: root/frontends/php/alerts.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2002-05-07 10:41:18 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2002-05-07 10:41:18 +0000
commitfefeed0a362b96cfcbc252adfa1e41b9035d8b9e (patch)
treed8ea8461f3c5a917e5add76012ff78d95973de1c /frontends/php/alerts.php
parent8dfc2751c6834cd9942254fdba3f1a4b559ecf13 (diff)
downloadzabbix-fefeed0a362b96cfcbc252adfa1e41b9035d8b9e.tar.gz
zabbix-fefeed0a362b96cfcbc252adfa1e41b9035d8b9e.tar.xz
zabbix-fefeed0a362b96cfcbc252adfa1e41b9035d8b9e.zip
- added default user "guest" (Alexei)
- more support for flexible permissions (Alexei) git-svn-id: svn://svn.zabbix.com/trunk@357 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/alerts.php')
-rw-r--r--frontends/php/alerts.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/frontends/php/alerts.php b/frontends/php/alerts.php
index a06bec09..bb1b1768 100644
--- a/frontends/php/alerts.php
+++ b/frontends/php/alerts.php
@@ -50,6 +50,11 @@
$col=0;
while($row=DBfetch($result))
{
+ if(!check_right("User","R",$row["userid"]))
+ {
+ continue;
+ }
+
if($col++%2==0) { echo "<tr bgcolor=#DDDDDD>"; }
else { echo "<tr bgcolor=#EEEEEE>"; }