Code

Updated ACL parsing.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 17 Oct 2008 14:29:10 +0000 (14:29 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 17 Oct 2008 14:29:10 +0000 (14:29 +0000)
-Keep user filter settings when roles are seolved.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12731 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_userinfo.inc

index 580c7c470d96c02e88b80902ce0ec4ad7f50c265..0601a984204c50b73a151eb8abc1c47717aa9145 100644 (file)
@@ -126,6 +126,9 @@ class userinfo
               $tmp = @acl::explodeAcl($attrs['gosaAclTemplate'][$i]);  
 
               foreach($tmp as $new_acl){
+
+                /* Keep non role attributes here! */
+                $new_acl['filter'] = $aclc_value['filter'];
                 $new_acl['members'] = $aclc_value['members'];
                 $aclc[$dn][] =$new_acl;
               }