• Модуль: sender
  • Путь к файлу: ~/bitrix/modules/sender/lib/security/access.php
  • Класс: BitrixSenderSecurityAccess
  • Вызов: Access::canPerform
public function canPerform($entityCode, $actionCode, $minPerm = null)
{
	if ($this->user->canEdit())
	{
		return true;
	}

	if($actionCode === self::ACTION_VIEW)
		return $this->user->canView();

	return false;
}