From: hickert Date: Mon, 26 Apr 2010 15:32:27 +0000 (+0000) Subject: Updated ACL stuff X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=99c06e7ab82c2835551fe87b270eff99d9af029c;p=gosa.git Updated ACL stuff git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17852 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_userinfo.inc b/gosa-core/include/class_userinfo.inc index fefdb397c..c1c49ac40 100644 --- a/gosa-core/include/class_userinfo.inc +++ b/gosa-core/include/class_userinfo.inc @@ -517,7 +517,10 @@ class userinfo foreach($this->ocMapping[$ocs] as $oc){ if (isset($subacl['acl'][$ocs.'/'.$oc])){ - if($dn != $this->dn && strpos($subacl['acl'][$ocs.'/'.$oc][0],"s") !== FALSE) continue; + // Skip ACLs wich are defined for ourselfs only - if not checking against ($ui->dn) + if(isset($subacl['acl'][$ocs.'/'.$oc][0]) && + $dn != $this->dn && + strpos($subacl['acl'][$ocs.'/'.$oc][0],"s") !== FALSE) continue; foreach($subacl['acl'][$ocs.'/'.$oc] as $attr => $dummy){ $acl= $this->mergeACL($acl, $subacl['type'], $subacl['acl'][$ocs.'/'.$oc][$attr]);