From: hickert Date: Wed, 18 Jan 2006 10:08:34 +0000 (+0000) Subject: Added better acl assignment X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5b539ec9d04cfbedc3017d782b79e17ac2dd6e21;p=gosa.git Added better acl assignment git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2518 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_glpiAccount.inc b/plugins/admin/systems/class_glpiAccount.inc index 4323dfa7d..8a5f8d993 100644 --- a/plugins/admin/systems/class_glpiAccount.inc +++ b/plugins/admin/systems/class_glpiAccount.inc @@ -427,6 +427,9 @@ class glpiAccount extends plugin /* Assign smarty defaults */ foreach(array("SystemTypes","SystemTypeKeys","Manufacturers","OSs","TechnicalResponsibles","InstalledDevices","Attachments") as $attr){ $smarty->assign($attr,array()); + } + + foreach($this->attributes as $attr){ $smarty->assign($attr."ACL",chkacl($this->acl,$attr)); }