26 if (!$this->hasCurrentUser())
31 if (!$this->canSeeOwnerIfExtranetUser($item, $this->user))
36 if ($this->user->isAdmin() || $this->user->isSocNetAdmin($item->getType()))
41 if ($this->isOwner($item, $this->user->getUserId()))
46 if ($item->getType() === Dictionary::CALENDAR_TYPE[
'open_event'])
51 $type = TypeModel::createFromSectionModel($item);
54 if ($item->getType() === Dictionary::CALENDAR_TYPE[
'group'])
67 CCalendarSect::GetOperations($item->getId(), $this->user->getUserId()),