From 0d775b4eea9d591bba87b26770f05bea347bf5cf Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 17 Nov 2006 12:05:13 +0000 Subject: [PATCH] Fixed group mail acl, view git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5153 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/groups/class_groupMail.inc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/plugins/admin/groups/class_groupMail.inc b/plugins/admin/groups/class_groupMail.inc index f836f5281..b6c8c01f8 100644 --- a/plugins/admin/groups/class_groupMail.inc +++ b/plugins/admin/groups/class_groupMail.inc @@ -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.= " -- 2.30.2