mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-08 07:55:01 +02:00
Don't show private events in search results, even if user has freebusy permission
This commit is contained in:
@ -474,13 +474,13 @@ class calendar_bo
|
||||
}
|
||||
if ($is_private || (!$event['public'] && $filter == 'hideprivate'))
|
||||
{
|
||||
if($params['query'] && !$this->check_perms(EGW_ACL_FREEBUSY,$event))
|
||||
if($params['query'])
|
||||
{
|
||||
unset($events[$id]);
|
||||
$this->total--;
|
||||
continue;
|
||||
}
|
||||
else
|
||||
elseif($this->check_perms(EGW_ACL_FREEBUSY,$event))
|
||||
{
|
||||
$this->clear_private_infos($events[$id],$users);
|
||||
}
|
||||
|
Reference in New Issue
Block a user