* Calendar: invite rights, should NOT implicate a freebusy rights (users with invite rights could see freebusy times of other users)

This commit is contained in:
Ralf Becker 2011-01-04 19:30:57 +00:00
parent 8865ecbe35
commit 14d46cea5a

View File

@ -1100,8 +1100,8 @@ class calendar_bo
}
$grants = $this->grants[$owner];
// now any ACL rights implicate FREEBUSY rights (at least READ has to include FREEBUSY)
if ($grants) $grants |= EGW_ACL_FREEBUSY;
// now any ACL rights (but invite rights!) implicate FREEBUSY rights (at least READ has to include FREEBUSY)
if ($grants & ~EGW_ACL_INVITE) $grants |= EGW_ACL_FREEBUSY;
if (is_array($event) && ($needed == EGW_ACL_READ || $needed == EGW_ACL_FREEBUSY))
{