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 has any topic permission by applying the following steps in sequence:
Authenticate the user (authenticate)
Get topic by id (chatService.getOneTopic)
Get subscriptions by topicId, userId and permissions (chatService.getSubscriptions)
Return 200 if the user has any topic permission
403 NBError Forbidden
404 NBError Not Found
Generated using TypeDoc
Does user have any topic permission validator