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