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:33:19 +00:00
parent 93d34b8557
commit 8aa40841e0

View File

@ -2091,7 +2091,7 @@ function open_edit(series)
foreach((array) $GLOBALS['egw']->accounts->member($user) as $data) foreach((array) $GLOBALS['egw']->accounts->member($user) as $data)
{ {
$user = $data['account_id']; $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); $users[$user] = $this->bo->participant_name($user);
} }