Code

Updated opsi Pruduct Property editor to use ACLs
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 14 Oct 2008 13:52:32 +0000 (13:52 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 14 Oct 2008 13:52:32 +0000 (13:52 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12695 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/opsi/admin/opsi/class_opsiProperties.inc

index 07304d11ed643a103e7a559a5f8a3fed7510abf1..fee1b8746243f422792937e30d6b48f708a90222 100644 (file)
@@ -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){