summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f2482bb)
raw | patch | inline | side by side (parent: f2482bb)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 25 Oct 2007 06:47:51 +0000 (06:47 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 25 Oct 2007 06:47:51 +0000 (06:47 +0000) |
MyAccount plugins wasn't accessible anymore.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7649 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7649 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_userinfo.inc | patch | blob | history |
index c479e9332a78d606ad750ddd8e0573c0258103f4..097c7ccdc90f2030cdd4cbc0d35b5e28ba0ff126 100644 (file)
{
/* Push cache answer? */
if (isset($_SESSION['ACL_CACHE']["$dn+$object+$attribute"])){
- return ($_SESSION['ACL_CACHE']["$dn+$object+$attribute"]);
+
+ /* Remove write if needed */
+ if ($skip_write){
+ $ret = preg_replace('/w/', '', $_SESSION['ACL_CACHE']["$dn+$object+$attribute"]);
+ }else{
+ $ret = $_SESSION['ACL_CACHE']["$dn+$object+$attribute"];
+ }
+ return($ret);
}
$acl= array("r" => "", "w" => "", "c" => "", "d" => "", "m" => "", "a" => "");
}
}
+ $_SESSION['ACL_CACHE']["$dn+$object+$attribute"]= $ret;
+
/* Remove write if needed */
if ($skip_write){
$ret= preg_replace('/w/', '', $ret);
}
-
- $_SESSION['ACL_CACHE']["$dn+$object+$attribute"]= $ret;
return ($ret);
}