forked from extern/egroupware
Fix Security Holes
Another prohibited users can view availability of another users (and reconstruct calendar for a user, in final) Now, Users can view _only_ availability of users when owner has a good rights (minimal: read)
This commit is contained in:
parent
3bd4118e3e
commit
7e31271830
@ -3023,6 +3023,10 @@
|
||||
$overlap .= '<ul>';
|
||||
foreach($overlapped_event['participants'] as $id => $status)
|
||||
{
|
||||
// Check if user can view others participants
|
||||
if($GLOBALS["phpgw"]->acl->get_rights($id, "calendar") < PHPGW_ACL_READ)
|
||||
continue;
|
||||
|
||||
$conflict = isset($event['participants'][$id]);
|
||||
$overlap .= '<li>'.($conflict?'<b>':'').
|
||||
$GLOBALS['phpgw']->common->grab_owner_name($id).
|
||||
|
Loading…
Reference in New Issue
Block a user