injected config use to get authSecrets and authenticate
injected targetField use to get orgId
injected API use to handle organization related operations
injected logger use to handle logging
request context [headers, body, params, query].
200 Status OK
This validator checks if the user is organization owner or admin by applying the following steps in sequence:
Get orgId from targetField context
Check if orgId is provided
Check if user is organization owner or admin
400 NBError Bad Request
401 NBError Unauthorized
403 NBError Forbidden
Generated using TypeDoc
Is user organization owner or admin validator