From: hickert Date: Wed, 24 Mar 2010 12:51:18 +0000 (+0000) Subject: updated acls X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ed50da6c7499d4e1d9fe051c0b08eb7a1dfc62ba;p=gosa.git updated acls git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17073 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/personal/environment/class_environment.inc b/gosa-plugins/goto/personal/environment/class_environment.inc index 055063c70..0060589cc 100644 --- a/gosa-plugins/goto/personal/environment/class_environment.inc +++ b/gosa-plugins/goto/personal/environment/class_environment.inc @@ -384,9 +384,11 @@ class environment extends plugin }else{ $smarty->assign($s_attr."CHK"," checked "); } + } - /* Prepare ACL settings*/ - $smarty->assign($s_attr."ACL",$this->getacl($s_attr)); + $tmp = $this->plInfo(); + foreach($tmp['plProvidedAcls'] as $val => $desc){ + $smarty->assign("$val"."ACL", $this->getacl($val)); } /* Is accout enabled | are we editing from usermenu or admin menu @@ -504,9 +506,11 @@ class environment extends plugin }else{ $smarty->assign($s_attr."CHK"," checked "); } + } - /* Prepare ACL settings*/ - $smarty->assign($s_attr."ACL",$this->getacl($s_attr)); + $tmp = $this->plInfo(); + foreach($tmp['plProvidedAcls'] as $val => $desc){ + $smarty->assign("$val"."ACL", $this->getacl($val)); } foreach(array("gotoProfileFlagC","gotoProfileFlagL") as $s_attr){