X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Finclude%2Fclass_userinfo.inc;h=06a9648d1782d875d72483966014d5fc683af4be;hb=806fdaa1d14d6d221f479e604cf090a0f02dc6ee;hp=a32f07da647664216c4cd799b4ebecd6208cbefe;hpb=d1902dd692c64af932efe36a9c5e6a469362f67e;p=gosa.git diff --git a/gosa-core/include/class_userinfo.inc b/gosa-core/include/class_userinfo.inc index a32f07da6..06a9648d1 100644 --- a/gosa-core/include/class_userinfo.inc +++ b/gosa-core/include/class_userinfo.inc @@ -158,9 +158,9 @@ class userinfo foreach($aclc[$dn] as $idx => $type){ $interresting= FALSE; - /* No members? This is good for all users... */ + /* No members? This ACL rule is deactivated ... */ if (!count($type['members'])){ - $interresting= TRUE; + $interresting= FALSE; } else { /* Inspect members... */ @@ -243,6 +243,14 @@ class userinfo } + /* Returns an array containing all target objects we've permssions on. + */ + function get_acl_target_objects() + { + return(array_keys($this->ACLperPath)); + } + + function get_category_permissions($dn, $category, $any_acl = FALSE) { return(@$this->get_permissions($dn,$category.'/0',""));