index c22d8389845a668e66d2202078a5e0ab64d8f617..60baec911497eab02a7b911977eeb5fda39d0c57 100644 (file)
return($display);
}
- $smarty->assign("SubObjects",$this->getList());
+ $ui = get_userinfo();
+ $ret = $this->getList();
+ $tmp = array();
+ foreach($this->SubObjects as $key => $obj){
+ $acl = $ui->get_permissions($obj['dn'],"fai/faiVariableEntry");
+ if(preg_match("/r/",$acl)){
+ $tmp[$key] = $ret[$key];
+ }
+ }
+ $smarty->assign("SubObjects",$tmp);
+
- /* Magic quotes GPC, escapes every ' " \, to solve some security risks
+ /* Magic quotes GPC, escapes every ' " \, to solve some security risks
* If we post the escaped strings they will be escaped again
*/
-
foreach($this->attributes as $attrs){
if(get_magic_quotes_gpc()){
$smarty->assign($attrs,htmlentities (stripslashes(utf8_decode($this->$attrs))));