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