From 99c06e7ab82c2835551fe87b270eff99d9af029c Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 26 Apr 2010 15:32:27 +0000 Subject: [PATCH] Updated ACL stuff git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17852 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_userinfo.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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]); -- 2.30.2