injected service use to handle the chat related operations
Options
injected logger used to handle the logging
request context [headers, body, params, query].
200 Status OK
This validator checks if the user is the topic owner by applying the following steps in sequence:
Authenticate the user (authenticate)
Get topic by id (chatService.getOneTopic)
Check if the topic exists
If ownerType is user, check if the user id is in the topic ownerIds
If ownerType is organization, check if the user is the owner or admin of one of the organization ownerIds
403 NBError Forbidden
404 NBError Not Found
Generated using TypeDoc
Is user match topic owner validator