• Модуль: rpa
  • Путь к файлу: ~/bitrix/modules/rpa/lib/userpermissions.php
  • Класс: BitrixRpaUserPermissions
  • Вызов: UserPermissions::getFilterForViewableItems
public function getFilterForViewableItems(Type $type): array
{
	return [
		[
			'LOGIC' => 'OR',
			[
				'=CREATED_BY' => $this->userId,
			],
			[
				'@STAGE_ID' => $this->getViewableStageIds($type),
			],
		]
	];
}