• Модуль: sender
  • Путь к файлу: ~/bitrix/modules/sender/lib/security/access.php
  • Класс: BitrixSenderSecurityAccess
  • Вызов: Access::canViewToloka
public function canViewToloka()
{
	return IntegrationBitrix24Service::isTolokaVisibleInRegion()
		&& AccessController::can($this->user->getId(),ActionDictionary::ACTION_RC_VIEW);
}