mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
re-implemented implicit EGW_ACL_PRIVATE grant for group invitations - removed unneeded error logging
This commit is contained in:
parent
6e50e45546
commit
e3074ac9dc
@ -1049,7 +1049,7 @@ class calendar_bo
|
||||
if ($uid == $user || $uid < 0 && in_array($user,$GLOBALS['egw']->accounts->members($uid,true)))
|
||||
{
|
||||
// if we are a participant, we have an implicite READ and PRIVAT grant
|
||||
$grants |= EGW_ACL_READ;
|
||||
$grants |= EGW_ACL_READ | EGW_ACL_PRIVATE;
|
||||
break;
|
||||
}
|
||||
elseif ($this->grants[$uid] & EGW_ACL_READ)
|
||||
@ -1066,10 +1066,6 @@ 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…
Reference in New Issue
Block a user