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