From cf3fd256c33fe153c6db5ecd03259356d1818f95 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 29 May 2007 08:10:35 +0000 Subject: [PATCH] Added acls git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6500 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/addons/logview/class_gosa_logview.inc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/plugins/addons/logview/class_gosa_logview.inc b/plugins/addons/logview/class_gosa_logview.inc index b6eede0c9..78369e88a 100644 --- a/plugins/addons/logview/class_gosa_logview.inc +++ b/plugins/addons/logview/class_gosa_logview.inc @@ -154,8 +154,8 @@ class gosa_logview extends plugin $ui = get_userinfo(); $dn = $list_of_servers[$this->server]['DN']; - $acls = $ui->get_permissions($dn,"users/user"); - echo $acls; + $acls = $ui->get_permissions($dn,"server/gosaLogServer","viewEntries"); + if(!preg_match("/r/",$acls)){ $res = " @@ -329,7 +329,7 @@ class gosa_logview extends plugin /* Return plugin informations for acl handling - #FIXME You can only read attributes within this report plugin */ + #FIXME You can only read attributes within this report plugin function plInfo() { return (array( @@ -344,6 +344,7 @@ class gosa_logview extends plugin "plProvidedAcls" => array() )); } + */ } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?> -- 2.30.2