From: hickert Date: Tue, 29 May 2007 06:43:16 +0000 (+0000) Subject: Updated service objectclass array X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4cd57d6f8cbdf53fc6c4dd7e2adc8fe3d8ddc2a7;p=gosa.git Updated service objectclass array git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6494 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_serverService.inc b/plugins/admin/systems/class_serverService.inc index 6518bd34e..a4c4921d6 100644 --- a/plugins/admin/systems/class_serverService.inc +++ b/plugins/admin/systems/class_serverService.inc @@ -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)