Code

Fix problems with removing services after saving
authorpsc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 9 Oct 2009 10:16:13 +0000 (10:16 +0000)
committerpsc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 9 Oct 2009 10:16:13 +0000 (10:16 +0000)
When initializing ServerService set acl_base. This
fixes problems, where services cannot be deleted,
because acl_base is not set after saving the services
dialog.
(Trac: #3285)

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@14567 594d385d-05f5-0310-b6e9-bd551577e9d8

trunk/gosa-plugins/systems/admin/systems/class_serverService.inc

index 4bd58ed1894d29ca7ff73227e0b95b6f0595615e..da19de44cddacb6c9ab94a7a497eb5ad2b3cb9c7 100644 (file)
@@ -54,6 +54,9 @@ class ServerService extends plugin
     $this->parent = $parent;
     $this->dn= $dn;
 
+    /* Initialize acl_base */
+    $this->set_acl_base($this->dn);
+
     /* Adapt parent attributes */
     if(isset($this->parent->attrs)){
       $this->attrs = $this->parent->attrs;