mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-17 02:41:02 +01:00
* Calendar: invite rights, should NOT implicate a freebusy rights (users with invite rights could see freebusy times of other users)
This commit is contained in:
parent
75b8b2f4a4
commit
20db16219d
@ -1105,8 +1105,8 @@ class calendar_bo
|
|||||||
}
|
}
|
||||||
$grants = $this->grants[$owner];
|
$grants = $this->grants[$owner];
|
||||||
|
|
||||||
// now any ACL rights implicate FREEBUSY rights (at least READ has to include FREEBUSY)
|
// now any ACL rights (but invite rights!) implicate FREEBUSY rights (at least READ has to include FREEBUSY)
|
||||||
if ($grants) $grants |= EGW_ACL_FREEBUSY;
|
if ($grants & ~EGW_ACL_INVITE) $grants |= EGW_ACL_FREEBUSY;
|
||||||
|
|
||||||
if (is_array($event) && ($needed == EGW_ACL_READ || $needed == EGW_ACL_FREEBUSY))
|
if (is_array($event) && ($needed == EGW_ACL_READ || $needed == EGW_ACL_FREEBUSY))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user