From 715083a086fd275a803f24e527b3e18f8dddd721 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 14 Jul 2008 13:41:07 +0000 Subject: [PATCH] Fixed mail account acls git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11635 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/mail/personal/mail/main.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gosa-plugins/mail/personal/mail/main.inc b/gosa-plugins/mail/personal/mail/main.inc index 153199cbb..c393fdb6a 100644 --- a/gosa-plugins/mail/personal/mail/main.inc +++ b/gosa-plugins/mail/personal/mail/main.inc @@ -45,7 +45,7 @@ if (!$remove_lock){ } /* Enter edit mode? */ - if (isset($_POST['edit']) && preg_match("/w/",$ui->get_permissions($ui->dn,"users/mailAccount"))){ + if (isset($_POST['edit']) && preg_match("/r/",$ui->get_permissions($ui->dn,"users/mailAccount"))){ /* Check locking */ if (($username= get_lock($ui->dn)) != ""){ @@ -113,7 +113,7 @@ if (!$remove_lock){ $info.= "\"\" ".msgPool::clickEditToChange(); - if(preg_match("/w/",$ui->get_permissions($ui->dn,"users/mailAccount"))){ + if(preg_match("/r/",$ui->get_permissions($ui->dn,"users/mailAccount"))){ $display.= "\n"; } -- 2.30.2