summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: aa22677)
raw | patch | inline | side by side (parent: aa22677)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 14 Jul 2008 06:51:51 +0000 (06:51 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 14 Jul 2008 06:51:51 +0000 (06:51 +0000) |
-Set FAIstate correctly, to avoid that freezed objects can be edited
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11615 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11615 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/class_faiManagement.inc | patch | blob | history |
diff --git a/gosa-plugins/fai/admin/fai/class_faiManagement.inc b/gosa-plugins/fai/admin/fai/class_faiManagement.inc
index 191c36bc214ba4ebbc1ceba6726455f88f42280c..b2b9a25416c3077e2e01cfa378b01eb7361ecf2e 100644 (file)
$this->dialog = new $a_setup[0]($this->config,$this->config->data['TABS'][$a_setup[2]],$this->dn,"fai");
$this->dialog->parent = &$this;
+ $this->dialog->by_object[$a_setup[1]]->FAIstate = $entry['FAIstate'];;
$this->dialog->set_acl_base($this->dn);
$this->is_dialog = true;
/* Append type to this string, to be able to check if the selected
* entry is of type 'freeze' or 'branch'
*/
- if(!isset($object['FAIstate'])){
+# if(!isset($object['FAIstate'])){
/* Is this entry inherited from an earlier release?
In this case inherit the FAIstate from the release container.
$obj['FAIstate'] = $this->lock_type;
}
- }else{
- $obj['FAIstate'] = $object['FAIstate'][0];
- }
+# }else{
+# $obj['FAIstate'] = $object['FAIstate'][0];
+# }
if($force_freezed && !$this->allow_freeze_object_attach){
$obj['FAIstate'] = "freeze";