From: hickert Date: Tue, 14 Oct 2008 13:52:32 +0000 (+0000) Subject: Updated opsi Pruduct Property editor to use ACLs X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d46386f9528feaa1241d81c3ca30322988cbcfeb;p=gosa.git Updated opsi Pruduct Property editor to use ACLs git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12695 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/opsi/admin/opsi/class_opsiProperties.inc b/gosa-plugins/opsi/admin/opsi/class_opsiProperties.inc index 07304d11e..fee1b8746 100644 --- a/gosa-plugins/opsi/admin/opsi/class_opsiProperties.inc +++ b/gosa-plugins/opsi/admin/opsi/class_opsiProperties.inc @@ -33,7 +33,6 @@ class opsiProperties extends plugin { $ui =get_userinfo(); $acl = $ui->get_permissions($this->config->current['BASE'],"opsi/opsiProperties",""); - $smarty = get_smarty(); $smarty->assign("ACL",$acl); $smarty->assign("cfg",$this->cfg); @@ -46,6 +45,7 @@ class opsiProperties extends plugin */ public function save_object() { + $ui =get_userinfo(); $acl = $ui->get_permissions($this->config->current['BASE'],"opsi/opsiProperties",""); if(preg_match("/w/",$acl)){ foreach($this->cfg as $name => $value){