Code

Fixed permission problem in ogroup tab.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 17 Jun 2009 07:42:15 +0000 (07:42 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 17 Jun 2009 07:42:15 +0000 (07:42 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13723 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/ogroups/tabs_ogroups.inc

index 6a4b79f7f9efeb5ade25708d4ab6bde4da89d896..a5cbaf79fd15acdd56e34349e66234ee3b6facdc 100644 (file)
@@ -272,7 +272,11 @@ class ogrouptabs extends tabs
       }
 
       /* Reset acls */
-      $this->set_acl_base($this->dn);
+      if($this->dn == "new"){
+        $this->set_acl_base($this->base);
+      }else{
+        $this->set_acl_base($this->dn);
+      }
       foreach($this->by_object as $name => $obj){
         $this->by_object[$name]->set_acl_category($this->acl_category);
       }