summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 594e721)
raw | patch | inline | side by side (parent: 594e721)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 21 May 2007 12:04:44 +0000 (12:04 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 21 May 2007 12:04:44 +0000 (12:04 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6422 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/addons/ldapmanager/class_exportxls.inc | patch | blob | history |
diff --git a/plugins/addons/ldapmanager/class_exportxls.inc b/plugins/addons/ldapmanager/class_exportxls.inc
index 6a3302a8175cc1baab82eef13c74de52a183390c..a8e1ee68524420c57e05509d33e482e7d96cd9d1 100644 (file)
@log::log("view","all/".get_class($this),$this->dn);
}
+ $dn = $this->config->current['BASE'];
+
/* Set government mode */
$smarty= get_smarty();
-
$smarty->assign("type",FALSE);
$smarty->assign("depselectivbb","");
$acls = $this->ui->get_permissions($dn,"all/all");
}
- if(!preg_match("/r/",$acls)){
+ if(!preg_match("/r/",$acls) && (isset($_POST['sfrmgetsingle']) || isset($_POST['sfrmgetfull']) || isset($_POST['sfrmgetivbb']))){
/* Show error msg */
print_red(sprintf(_("You are not allowed to export the given ldap entry (%s)"),@LDAP::fix($dn)));