Code

Use correct ACLs for removal
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 29 Mar 2010 13:52:34 +0000 (13:52 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 29 Mar 2010 13:52:34 +0000 (13:52 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17359 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index 07ab52571051350cc397bdcf7daef479919b0d56..c66d390e60c010e8e4a59f223de33dd4fdc2e31d 100644 (file)
@@ -263,7 +263,7 @@ class faiManagement extends management
 
       if(class_exists($type[0])){
         $this->closeDialogs();
-        $str = management::newEntry('newEntry',array(),array(),$type[0],$type[2],$type[1]);
+        $str = management::newEntry('newEntry',array(),array(),$type[0],$type[2],"fai");
         if($str) return($str);
         $this->tabObject->set_acl_base($this->acl_base);
         $this->tabObject->by_object[$type[1]]->cn = $name;
@@ -303,7 +303,7 @@ class faiManagement extends management
           if(count($entry['GROUPS']) == 1){
             $data = array_pop($entry['GROUPS']);
             $type = $this->get_type($data);
-            $str = management::editEntry('editEntry',array($data['dn']),array(),$type[0],$type[2],$type[1]);
+            $str = management::editEntry('editEntry',array($data['dn']),array(),$type[0],$type[2],"fai");
             if($str) return($str);
             $this->tabObject->by_object[$type[1]]->FAIstate = $data['FAIstate'];
             $this->tabObject->read_only = preg_match("/freeze/i", $data['FAIstate']);