Code

Updated userinfo
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 19 Sep 2007 09:41:33 +0000 (09:41 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 19 Sep 2007 09:41:33 +0000 (09:41 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7326 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_userinfo.inc

index c3712521ccb9a3d7b9dde672140672a644baa2b0..8ac07ad71fbc2e2264d559f36f7d6172d6d9ab9f 100644 (file)
@@ -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 = "";