25 if (!$this->hasCurrentUser())
30 if (!$this->canSeeOwnerIfExtranetUser($item, $this->user))
35 if ($this->user->isAdmin() || $this->user->isSocNetAdmin($item->getType()))
40 if ($this->isOwner($item, $this->user->getUserId()))
45 $type = TypeModel::createFromSectionModel($item);
48 if ($item->getType() !== \
Bitrix\Calendar\Core\
Event\Tools\Dictionary::CALENDAR_TYPE[
'resource'])
57 \CCalendarSect::GetOperations($item->getId(), $this->user->getUserId()),