• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/controller/form.php
  • Класс: Bitrix\Crm\Controller\Form
  • Вызов: Form::checkSiteButtonAccess
protected function checkSiteButtonAccess($write = false)
{
	if(!$this->getSiteButtonAccess($write))
	{
		throw new Main\AccessDeniedException();
	}
}