summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 272c70f)
raw | patch | inline | side by side (parent: 272c70f)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 7 Oct 2009 14:37:20 +0000 (14:37 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 7 Oct 2009 14:37:20 +0000 (14:37 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14561 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 b81933e1d0e89195fff51e6bdba81f7166791f1b..420ce026b600f1a2014a6b67a5ce779ba7303029 100644 (file)
/* Use addressbook acls */
if(preg_match("/".preg_quote($this->abobjectclass, '/')."/",$dn)) {
- $dn_a = preg_replace("/".preg_quote($this->abobjectclass, '/').",/","",$dn);
- $acls = $this->ui->get_permissions($dn_a,"addressbook/addressbook",$attr);
+ $acls = "";
+ foreach($this->ui->ACLperPath as $path => $data){
+ $acls.= $this->ui->get_permissions($path,"addressbook/addressbook",$attr);
+ }
}
/* Use Organizational Person acls */