fix for mystylite bug #818: planner by user only with read rights (should work with freebusy rights too)

This commit is contained in:
Ralf Becker 2010-10-12 14:41:48 +00:00
parent 59ffc34a9f
commit b6330f1d93

View File

@ -1913,7 +1913,7 @@ function open_edit(series)
foreach((array) $GLOBALS['egw']->accounts->member($user) as $data)
{
$user = $data['account_id'];
if ($this->bo->check_perms(EGW_ACL_READ,0,$user))
if ($this->bo->check_perms(EGW_ACL_READ | EGW_ACL_FREEBUSY,0,$user))
{
$users[$user] = $this->bo->participant_name($user);
}