Code

Updated acl removement
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 5 Jun 2007 12:13:30 +0000 (12:13 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 5 Jun 2007 12:13:30 +0000 (12:13 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6550 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/groups/class_groupGeneric.inc

index 114e32ae5bc6ff5739edbe75d1a342e6304dc960..2a8f2a55a0e5090db8640d49d8e63873203f92ef 100644 (file)
@@ -540,7 +540,7 @@ class group extends plugin
       $acl = new acl($this->config,$this->parent,$attrs['dn']);
       foreach($acl->gosaAclEntry as $id => $entry){
         foreach($entry['members'] as $m_id => $member){
-          if($m_id == "G:".$this->dn){
+          if($m_id == "G:".$this->dn || $m_id == "U:".$this->dn){
             unset($acl->gosaAclEntry[$id]['members'][$m_id]);
             gosa_log("modify","groups/acl",$attrs['dn'],array(),sprintf("Removed acl for %s on object %s.",$this->dn,$attrs['dn']));
           }