forked from extern/egroupware
buffer and provide debug on missing participants to an event
This commit is contained in:
parent
aae4b8ac8d
commit
514caa5d0e
@ -1002,6 +1002,8 @@ class calendar_bo
|
|||||||
// Check if the $user is one of the participants or has a read-grant from one of them
|
// Check if the $user is one of the participants or has a read-grant from one of them
|
||||||
// in that case he has an implicite READ grant for that event
|
// in that case he has an implicite READ grant for that event
|
||||||
//
|
//
|
||||||
|
if ($event['participants'] && is_array($event['participants']))
|
||||||
|
{
|
||||||
foreach($event['participants'] as $uid => $accept)
|
foreach($event['participants'] as $uid => $accept)
|
||||||
{
|
{
|
||||||
if ($uid == $user || $uid < 0 && in_array($user,$GLOBALS['egw']->accounts->members($uid,true)))
|
if ($uid == $user || $uid < 0 && in_array($user,$GLOBALS['egw']->accounts->members($uid,true)))
|
||||||
@ -1024,6 +1026,11 @@ class calendar_bo
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
error_log(__METHOD__." no participants for event:".print_r($event,true));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if ($GLOBALS['egw']->accounts->get_type($owner) == 'g' && $needed == EGW_ACL_ADD)
|
if ($GLOBALS['egw']->accounts->get_type($owner) == 'g' && $needed == EGW_ACL_ADD)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user