Code

Updated FAI management - Opsi
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 15 Oct 2008 07:13:55 +0000 (07:13 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 15 Oct 2008 07:13:55 +0000 (07:13 +0000)
-Fixed OPSI product ACL check

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12698 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/fai/class_faiManagement.inc

index b2b38756f12bd61db1a2426c61ca8b6fb622a121..57859e88fc21e902383c6b4e4397de6c40c1ccc6 100644 (file)
@@ -1199,7 +1199,7 @@ class faiManagement extends plugin
     /*  Append opsi objects, if opsi is available and if we are on the fai_base
      */
     if($this->opsi instanceof opsi && $this->opsi->enabled()){  
-      $opsi_acl = $this->ui->get_permissions($object['dn'],"opsi/opsiProperties");
+      $opsi_acl = $this->ui->get_permissions($base,"opsi/opsiProperties");
       if(preg_match("/r/",$opsi_acl)){
         $err = FALSE;
         if(!$err && $this->DivListFai->ShowOpsiNetboot){