From: cajus Date: Wed, 19 Sep 2007 09:41:33 +0000 (+0000) Subject: Updated userinfo X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a93f31ec30f96579543e33c5061e391a6ddb27e3;p=gosa.git Updated userinfo git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7326 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_userinfo.inc b/include/class_userinfo.inc index c3712521c..8ac07ad71 100644 --- a/include/class_userinfo.inc +++ b/include/class_userinfo.inc @@ -170,6 +170,12 @@ class userinfo foreach($this->ocMapping[$category] as $oc){ $acl.= $this->get_permissions($dn, $category."/".$oc); } + } else { + if (isset($this->ocMapping['all'])){ + foreach($this->ocMapping['all'] as $oc){ + $acl.= $this->get_permissions($dn, $category."/".$oc); + } + } } return ($acl); @@ -438,7 +444,6 @@ class userinfo $acl = "rwcdm"; $types = "rwcdm"; - if(!is_string($category)){ trigger_error("category must be string"); $acl = "";