summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5ed238f)
raw | patch | inline | side by side (parent: 5ed238f)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 7 Jan 2008 06:40:14 +0000 (06:40 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 7 Jan 2008 06:40:14 +0000 (06:40 +0000) |
-ACL wasn't read correctly
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@8230 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@8230 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/groups/class_groupMail.inc | patch | blob | history |
index 41e0eae4e28111375c554715c6496ff35a37e75e..90092d2ae3325faee0f4de4b592552419ec447d3 100644 (file)
}
}
}else{
+ /* Load permissions */
+ if (isset($this->attrs['acl'])){
+ for ($i= 0; $i<$this->attrs['acl']['count']; $i++){
+ list($user, $permission)= split(' ', $this->attrs['acl'][$i]);
+ $this->imapacl[$user]= $permission;
+ if ($user != "anyone" && $user != "%members%"){
+ unset($this->imapacl['']);
+ }
+ }
+ }
+
foreach($this->imapacl as $user => $permission){
if ($user != "anyone" && $user != "%members%"){
$tmp[$permission][] = $user;
if ($nr == $count - 1){
}
if ($count > 2){
- $tmp.= "<input type=submit value=\""._("Remove")."\" ".
+ $tmp.= "</td><td><input type=submit value=\""._("Remove")."\" ".
"name=\"del_$nr\" $perm></td></tr>";
}
}