injected config use to handle authentication
injected targetField use to get userId
injected logger use to handle logging
request context [headers, body, params, query].
200 Status OK
This validator checks if the user has permission to access the user resource by applying the following steps in sequence:
Get userId from targetField context
Authenticate user
Check if user is app or user is the same as userId
400 NBError Bad Request
401 NBError Unauthorized
403 NBError Forbidden
Generated using TypeDoc
Has permission for user resource validator