summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bc84da8)
raw | patch | inline | side by side (parent: bc84da8)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 6 May 2009 09:37:36 +0000 (09:37 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 6 May 2009 09:37:36 +0000 (09:37 +0000) |
- Changes were partly missing (class_faiManagement.inc, class_faiTemplate.inc)
- ACL related modifications. The default ACL dn to check was modified.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13612 594d385d-05f5-0310-b6e9-bd551577e9d8
- ACL related modifications. The default ACL dn to check was modified.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13612 594d385d-05f5-0310-b6e9-bd551577e9d8
trunk/gosa-plugins/fai/admin/fai/class_faiManagement.inc | patch | blob | history | |
trunk/gosa-plugins/fai/admin/fai/class_faiTemplate.inc | patch | blob | history |
diff --git a/trunk/gosa-plugins/fai/admin/fai/class_faiManagement.inc b/trunk/gosa-plugins/fai/admin/fai/class_faiManagement.inc
index f48108b60e760cbac34d6a1800c835be5d684451..8e64e3b2a31bdbd6fbc77f280c7773efb071a406 100644 (file)
if(preg_match("/c/",$acl)){
$a_setup= $this->get_type(array("objectClass"=>array("FAIprofile")));
$this->dialog = new $a_setup[0]($this->config,$this->config->data['TABS'][$a_setup[2]],$this->dn,"fai");
- $this->dialog->set_acl_base($this->base);
+ $this->dialog->set_acl_base($this->acl_base);
$this->dialog->parent = &$this;
$this->is_dialog = false;
if(class_exists($a_setup[0])){
$this->dialog = new $a_setup[0]($this->config,$this->config->data['TABS'][$a_setup[2]],$this->dn,"fai");
- $this->dialog->set_acl_base($this->base);
+ $this->dialog->set_acl_base($this->acl_base);
$this->dialog->by_object[$a_setup[1]]->cn = $name;
$this->dialog->parent = &$this;
$this->is_dialog = true;
diff --git a/trunk/gosa-plugins/fai/admin/fai/class_faiTemplate.inc b/trunk/gosa-plugins/fai/admin/fai/class_faiTemplate.inc
index 1a46f050dfc4b5da18688fe81a6e710593be9ca4..5e60e4f80637dd160e17a549b9fe593fac43ad55 100644 (file)
/* Add new sub object */
if(isset($_POST['AddSubObject']) && !preg_match("/freeze/",$this->FAIstate)){
- $acl_dn = $this->acl_base_for_current_object($this->dn);
+ $acl_dn = "cn=dummy,".$this->acl_base_for_current_object($this->dn);
$acl = $this->ui->get_permissions($acl_dn,"fai/faiTemplateEntry");
if(preg_match("/c/",$acl)){