Code

Prepared for multiple asterisk servers
[gosa.git] / plugins / admin / groups / class_groupMail.inc
index f836f5281f372d66884c6ffc379cde0b94594835..b6c8c01f8ba1087bd481910f7fd340f7d0405371 100644 (file)
@@ -565,6 +565,13 @@ class mailgroup extends plugin
           $Dis = " disabled ";
         }
   
+        /* Reset given Acls to ensure that nobody can read username and acls if not allwoed */
+        if(!preg_match("/r/",$perm)){
+          $user = "";
+          $nr   = "none";
+          $key  = "none";  
+        }
+
         $tmp.= "<tr>  
                  <td>
                   <input name=\"user_$nr\" size=20 maxlength=60 value=\"$user\" ".$Dis.">