Code

Fixed FAIpartitionTable entry
[gosa.git] / plugins / admin / fai / class_faiManagement.inc
index 63ffb647fa1dd7ad0cc4482e6185ef6de4787b43..1afeec431923d07042d9aac0e62728c25d08d383 100644 (file)
@@ -514,7 +514,9 @@ class faiManagement extends plugin
       $acl = $this->ui->get_permissions($this->DivListFai->selectedBase,"fai/faiProfile");
       if(preg_match("/c/",$acl)){
         $a_setup= $this->get_type(array("objectClass"=>array("FAIprofile")));
-        $this->dialog = new $a_setup[0]($this->config,$this->config->data['TABS'][$a_setup[2]],$this->dn);
+        $this->dialog = new $a_setup[0]($this->config,$this->config->data['TABS'][$a_setup[2]],$this->dn,"faiProfile");
+        $this->dialog->set_acl_base($_SESSION['CurrentMainBase']);
+
         $this->is_dialog = false;
       }else{
         print_red(sprintf(_("You are not allowed to create a new '%s' object."),"FAIprofile"));