summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a17101a)
raw | patch | inline | side by side (parent: a17101a)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 30 Oct 2008 11:06:48 +0000 (11:06 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 30 Oct 2008 11:06:48 +0000 (11:06 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12830 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_userinfo.inc | patch | blob | history |
index 4a840d422b33b26ed0b611409e5420d0aa66b403..b2143df0bef74dca6b341a676a02bdcfba4a8fe7 100644 (file)
return("rwcdm");
}
+ /* Ensure that we only cache relevant ACL settings
+ */
+ while(!isset($this->ACL[$dn]) && preg_match("/,/",$dn)){
+ $dn = preg_replace("/^[^,]*+,/","",$dn);
+ }
+
$ACL_CACHE = &session::get("ACL_CACHE");
$id = $dn."+".$category."+".$any_acl;
if(isset($ACL_CACHE['CATEGORY_ACL'][$id])){