From: hickert Date: Mon, 29 Mar 2010 09:58:34 +0000 (+0000) Subject: Updated ldif export - Updated ACLs wq X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=32c182f4481e418013568e3b8d194df44e49a0a7;p=gosa.git Updated ldif export - Updated ACLs wq git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17342 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/ldapmanager/addons/ldapmanager/class_export.inc b/gosa-plugins/ldapmanager/addons/ldapmanager/class_export.inc index 8bed2866a..dfd562cca 100644 --- a/gosa-plugins/ldapmanager/addons/ldapmanager/class_export.inc +++ b/gosa-plugins/ldapmanager/addons/ldapmanager/class_export.inc @@ -61,7 +61,7 @@ class ldifexport extends plugin // Set values for optionlist in form $bases = array(); - $acl_bases = $this->ui->get_module_departments("all"); + $acl_bases = $this->ui->get_module_departments("ldapmanager"); foreach($this->config->idepartments as $base_dn => $name){ if(in_array_ics($base_dn,$acl_bases)){ $bases[$base_dn] = $name; @@ -88,7 +88,7 @@ class ldifexport extends plugin /* check alcs for given dn */ $acls =""; if(isset($dn)){ - $acls = $this->ui->get_permissions($dn,"all/all"); + $acls = $this->ui->get_permissions($dn,"ldapmanager/ldif"); } if((!preg_match("/r/",$acls)) && (isset($dn))){