From: hickert Date: Thu, 16 Oct 2008 13:19:20 +0000 (+0000) Subject: Updated Fai templates. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8a4a2120ace8e505ab36c3cae755a751c2a06ba3;p=gosa.git Updated Fai templates. -If an entry was edited via href instead of the edit icon, the user had no acls. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12721 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/fai/admin/fai/class_faiTemplate.inc b/gosa-plugins/fai/admin/fai/class_faiTemplate.inc index 0b7eddc7a..f53314bda 100644 --- a/gosa-plugins/fai/admin/fai/class_faiTemplate.inc +++ b/gosa-plugins/fai/admin/fai/class_faiTemplate.inc @@ -171,12 +171,13 @@ class faiTemplate extends plugin if(isset($_GET['act']) && isset($_GET['id'])){ if($_GET['act'] == "edit" && isset($this->SubObjects[$_GET['id']])){ $obj = $this->SubObjects[$_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_category("fai"); session::set('objectinfo',$obj['dn']); $this->dialog->parent = &$this; $this->is_dialog=true;