injected service use to handle the chat related operations
Option
injected logger used to handle the logging
request context [headers, body, params, query].
200 Status OK
This validator checks if an organizationId has any topic permission by applying the following steps in sequence:
Get organization from context
Get topic by id (chatService.getOneTopic)
Get subscriptions by topicId, organizationId and permissions (chatService.getSubscriptions)
Return 200 if the organization has any topic permission
403 NBError Forbidden
404 NBError Not Found
Generated using TypeDoc
Does organization have any topic permission validator