From: hickert Date: Tue, 29 May 2007 08:10:35 +0000 (+0000) Subject: Added acls X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cf3fd256c33fe153c6db5ecd03259356d1818f95;p=gosa.git Added acls git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6500 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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: ?>