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:34:39 +00:00
parent c973df5693
commit a9146eaae9

View File

@ -1814,7 +1814,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);
}