list of allowed roles eq. ['owner', 'admin']
authSecrets authentication secrets
injected logger used to handle the logging
request context [headers, body, params, query].
200 Status OK
This validator will check if user is in organization roles for invitations by applying the following steps in sequence:
Get invitation id from target field
Get invitation from invitationService
Make sure orgId exists in invitation
Use orgId to check if user is in organization roles
Return check result
401 NBError Unauthorized
403 NBError Forbidden
Generated using TypeDoc
Is user in organization roles for invitations validator