From: hickert Date: Tue, 15 Jul 2008 06:53:56 +0000 (+0000) Subject: Updated ACL check for My Account plugins X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b660b4b1816e888b1e7933510f840332aa64f21d;p=gosa.git Updated ACL check for My Account plugins git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11642 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/personal/environment/main.inc b/gosa-plugins/goto/personal/environment/main.inc index b4b5508a5..a7ebfc1ad 100644 --- a/gosa-plugins/goto/personal/environment/main.inc +++ b/gosa-plugins/goto/personal/environment/main.inc @@ -108,7 +108,7 @@ if (!$remove_lock){ } else { $info= "\"\" ".$ui->dn." "; - if(preg_match("/w/",$ui->get_permissions($ui->dn,"users/environment"))){ + if(preg_match("/r/",$ui->get_permissions($ui->dn,"users/environment"))){ $info.= "\"\" ".msgPool::clickEditToChange(); $display.= "\n";