• Модуль: lists
  • Путь к файлу: ~/bitrix/modules/lists/classes/general/livefeed.php
  • Класс: CListsLiveFeed
  • Вызов: CListsLiveFeed::getRights
static function getRights($users, $logId, $createdBy, $method)
{
	$rights = array();
	$rights[] = 'SA'; //socnet admin

	if(!empty($users))
	{
		if($method == 'post')
			$users[] = $createdBy;

		foreach($users as $userId)
		{
			$rights[] = 'U'.$userId;
		}
	}

	$rights = array_unique($rights);

	return $rights;
}