25 if (!$this->hasCurrentUser())
30 if (!$this->canSeeOwnerIfExtranetUser($item, $this->user))
35 if ($this->user->isAdmin() || $this->user->isSocNetAdmin($item->getType()))
40 if ($item->getType() === Dictionary::CALENDAR_TYPE[
'open_event'])
45 if ($this->isOwner($item, $this->user->getUserId()))
50 $type = TypeModel::createFromSectionModel($item);
62 \CCalendarSect::GetOperations($item->getId(), $this->user->getUserId()),