From f250a871b1e954a8f2bf61e0c0ed57461f0b3b54 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 26 Jun 2011 15:47:55 +0000 Subject: [PATCH] * Calendar: fixed not working accept/reject of invitations, if participant is in a group with only a freebusy grant - previouse prevented that, thought we dont know why it was implemented that way --- calendar/inc/class.calendar_bo.inc.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/calendar/inc/class.calendar_bo.inc.php b/calendar/inc/class.calendar_bo.inc.php index b6a5969f9d..9f70eb5bb0 100644 --- a/calendar/inc/class.calendar_bo.inc.php +++ b/calendar/inc/class.calendar_bo.inc.php @@ -1132,12 +1132,8 @@ class calendar_bo { if ($uid == $this->user || $uid < 0 && in_array($this->user,$GLOBALS['egw']->accounts->members($uid,true))) { - $grants |= EGW_ACL_FREEBUSY; - // if we are a participant, we have an implicite READ and PRIVAT grant - // exept the group gives its members only EGW_ACL_FREEBUSY and the participant is not the current user - if ($this->grants[$uid] == EGW_ACL_FREEBUSY && $uid != $this->user) continue; - - $grants |= EGW_ACL_READ | EGW_ACL_PRIVATE; + // if we are a participant, we have an implicite FREEBUSY, READ and PRIVAT grant + $grant |= EGW_ACL_FREEBUSY | EGW_ACL_READ | EGW_ACL_PRIVATE; break; } elseif ($this->grants[$uid] & EGW_ACL_READ)