From: hickert Date: Tue, 15 Jul 2008 06:54:04 +0000 (+0000) Subject: Updated ACL check for My Account plugins X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9aab953ff0e60aad0249b81e8d9ff961c98e7416;p=gosa.git Updated ACL check for My Account plugins git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11643 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/samba/personal/samba/main.inc b/gosa-plugins/samba/personal/samba/main.inc index 59f48fc2b..890e7a0a1 100644 --- a/gosa-plugins/samba/personal/samba/main.inc +++ b/gosa-plugins/samba/personal/samba/main.inc @@ -110,7 +110,7 @@ if (!$remove_lock){ $info= "\"\" ".$ui->dn." "; - if(preg_match("/w/",$ui->get_permissions($ui->dn,"users/sambaAccount"))){ + if(preg_match("/r/",$ui->get_permissions($ui->dn,"users/sambaAccount"))){ $info.= "\"\" ". msgPool::clickEditToChange();