Code

Fixed usage of ACLs in FAI management
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 8 Jul 2010 09:39:15 +0000 (09:39 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 8 Jul 2010 09:39:15 +0000 (09:39 +0000)
-All FAI objects use 'fai' as acl_category, not their own like 'faiScript'

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

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

index fd83f7b97e51717831eebb19866e2a722d6c53d5..0c77ef80ae04264c2df25debe86d5654214e7fe9 100644 (file)
@@ -500,7 +500,7 @@ class faiManagement extends management
       $this->closeDialogs();
       $data = array_pop($entry);
       $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']);