mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-27 05:11:41 +02:00
buffer and provide debug on missing participants to an event
This commit is contained in:
parent
fad2227b8c
commit
632003f9fe
@ -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
|
||||
// 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)
|
||||
{
|
||||
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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user