From c97eb11a1f284ea8cac19938abbfd79371157c17 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 24 Nov 2008 14:23:05 +0000 Subject: [PATCH] Updated FAI Hooks. -the direct edit link (a href) wasn't working due to missing ACL assignments. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13017 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/fai/admin/fai/class_faiHook.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gosa-plugins/fai/admin/fai/class_faiHook.inc b/gosa-plugins/fai/admin/fai/class_faiHook.inc index 9f24f624c..d651382fc 100644 --- a/gosa-plugins/fai/admin/fai/class_faiHook.inc +++ b/gosa-plugins/fai/admin/fai/class_faiHook.inc @@ -195,12 +195,14 @@ class faiHook extends plugin if(isset($_GET['act']) && isset($_GET['id'])){ if($_GET['act'] == "edit" && isset($this->SubObjects[base64_decode($_GET['id'])])){ $obj = $this->SubObjects[base64_decode($_GET['id'])]; - if($obj['status'] == "FreshLoaded"){ + if($obj['status'] == "FreshLoaded"){ $obj = $this->get_object_attributes($obj,$this->sub_Load_Later); } $this->dialog= new $this->subClassName($this->config,$this->dn,$obj); $this->dialog->FAIstate = $this->FAIstate; $this->dialog->acl = $this->acl; + $this->dialog->set_acl_base($this->acl_base_for_current_object($obj['dn'])); + $this->dialog->set_acl_category("fai"); session::set('objectinfo',$obj['dn']); $this->dialog->parent = &$this; $this->is_dialog=true; -- 2.30.2