summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bd79ae7)
raw | patch | inline | side by side (parent: bd79ae7)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 30 Oct 2008 09:59:34 +0000 (09:59 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 30 Oct 2008 09:59:34 +0000 (09:59 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12825 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_userinfo.inc | patch | blob | history |
index 8645b5aedd0f41706867708a54d981160e11ec94..29a7962eb98fdfaa401c3021af4fef58d8393f6e 100644 (file)
function get_category_permissions($dn, $category, $any_acl = FALSE)
{
-
$ACL_CACHE = &session::get("ACL_CACHE");
$id = $dn."+".$category."+".$any_acl;
if(isset($ACL_CACHE['CATEGORY_ACL'][$id])){
$acl= "";
if (isset($this->ocMapping[$category])){
foreach($this->ocMapping[$category] as $oc){
- $acl.= $this->get_permissions($dn, $category."/".$oc);
+ if(!$oc == 0 ) continue;
+ $acl.= $this->get_permissions($dn, $category."/".$oc,0);
if($any_acl && !empty($acl)){
break;
}