Code

Updated setup migrate step
[gosa.git] / gosa-core / include / class_userinfo.inc
index 912bb29a093b6be9fbadda5f0ff34196a1c82e1a..c410e70db7b47e410a67239eabdbcacc5f2fd813 100644 (file)
@@ -602,6 +602,11 @@ class userinfo
 
     foreach(str_split($newACL) as $char){
 
+      /* Skip "self" ACLs without combination of rwcdm, they have no effect.
+         -self flag without read/write/create/...
+       */
+      if(empty($char)) continue;
+
       /* Skip permanent and subtree entries */
       if (preg_match('/[sp]/', $acl[$char])){
         continue;