summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 56ffe2b)
raw | patch | inline | side by side (parent: 56ffe2b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 23 Mar 2010 12:25:27 +0000 (12:25 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 23 Mar 2010 12:25:27 +0000 (12:25 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@17020 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/addressbook/addons/addressbook/class_addressbook.inc | patch | blob | history |
diff --git a/gosa-plugins/addressbook/addons/addressbook/class_addressbook.inc b/gosa-plugins/addressbook/addons/addressbook/class_addressbook.inc
index 4954cd75b6b0208a164868f877e0095549024446..f9f0aa5fea8e3955f0a7f0fc15fb568fc4c7f3c9 100644 (file)
/* Include config object */
$this->config= &$config;
+ $this->base = $this->config->current['BASE'];
+
/* Check if there is a special ldap-sub-tree specified, instead of dc=addressbook, */
$aoc = $this->config->search("addressbook", "addressbookBaseDN",array('menu'));
if ($aoc != ""){
session::set("phonefilter", $phonefilter);
/* Assign create acl */
- $acl = $this->get_entry_acls($this->dn);
+ $acl = $this->get_entry_acls($this->base);
$smarty->assign("internal_createable", preg_match("/c/",$acl));
+
+ $acl = $this->get_entry_acls($this->dn);
$smarty->assign("internal_removeable", preg_match("/d/",$acl));
$smarty->assign("internal_editable", preg_match("/w/",$acl));