From 2318dfe188971db3ed6a5b101f87663a7791d8ae Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 29 Mar 2010 09:58:40 +0000 Subject: [PATCH] Updated ldif export - Updated ACLs wq git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17343 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../ldapmanager/addons/ldapmanager/class_exportxls.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gosa-plugins/ldapmanager/addons/ldapmanager/class_exportxls.inc b/gosa-plugins/ldapmanager/addons/ldapmanager/class_exportxls.inc index 8af43592e..99fceb984 100644 --- a/gosa-plugins/ldapmanager/addons/ldapmanager/class_exportxls.inc +++ b/gosa-plugins/ldapmanager/addons/ldapmanager/class_exportxls.inc @@ -67,7 +67,7 @@ class xlsexport 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; @@ -97,7 +97,7 @@ class xlsexport 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($_POST['sfrmgetsingle']) || isset($_POST['sfrmgetfull']) || isset($_POST['sfrmgetivbb']))){ -- 2.30.2