Code

Updated service objectclass array
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 29 May 2007 06:43:16 +0000 (06:43 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 29 May 2007 06:43:16 +0000 (06:43 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6494 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_serverService.inc

index 6518bd34e4f08d04244fad046072f63dd3a3ef36..a4c4921d61459b2da3619de3d29f374ba6111b6e 100644 (file)
@@ -41,8 +41,18 @@ class ServerService extends plugin
       $name= $plug['CLASS'];
       $this->plugin_names[]= $name;
       $this->plugins[$name]= new $name($config, $dn);
+      /* Capture all service objectClases, necessary for acl handling */ 
+      if(isset($this->plugins[$name]->objectclasses)){
+        foreach($this->plugins[$name]->objectclasses as $oc){
+          $this->objectclasses[] = $oc;
+        }
+      }
     }
     $this->divList = new divListSystemService($config,$this);
+
+
+
        }
 
   function set_acl_base($base)