enforce a certain strength of uid, as some clients set quite weak ones)

This commit is contained in:
Ralf Becker
2008-05-20 04:59:26 +00:00
parent 01407a4e38
commit 9f30e824b0
5 changed files with 10 additions and 7 deletions

View File

@@ -203,7 +203,7 @@ abstract class groupdav_handler
return '403 Forbidden'; // no app rights
}
$extra_acl = $this->method2acl[$method];
if (!($entry = $this->read($id)) && ($method != 'PUT' || $event === false) ||
if (!($entry = $this->read($id)) && ($method != 'PUT' || $entry === false) ||
($extra_acl != EGW_ACL_READ && $this->check_access($extra_acl,$entry) === false))
{
if ($return_no_access && !is_null($entry))