Code

Updated ACL check for My Account plugins
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 15 Jul 2008 06:54:04 +0000 (06:54 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 15 Jul 2008 06:54:04 +0000 (06:54 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11643 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/samba/personal/samba/main.inc

index 59f48fc2b4314e6b5e4c469253a915245c6c7e64..890e7a0a1c9ae1ee44aff546dfda63e064d673c5 100644 (file)
@@ -110,7 +110,7 @@ if (!$remove_lock){
       $info= "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/lists/unlocked.png').
              "\"> ".$ui->dn."&nbsp;";
 
-      if(preg_match("/w/",$ui->get_permissions($ui->dn,"users/sambaAccount"))){
+      if(preg_match("/r/",$ui->get_permissions($ui->dn,"users/sambaAccount"))){
 
         $info.= "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/lists/on.png')."\"> ".
                 msgPool::clickEditToChange();