From: hickert Date: Mon, 14 Jul 2008 13:41:07 +0000 (+0000) Subject: Fixed mail account acls X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=715083a086fd275a803f24e527b3e18f8dddd721;p=gosa.git Fixed mail account acls git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11635 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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"; }