injected function use to check if the user is the last owner
injected logger used to handle the logging
request context [headers, body, params, query].
200 Status OK
This validator will check if the user is not the last owner by applying the following steps in sequence:
Get orgId and userId from context
Check if orgId and userId exist
Check if the user is not the last owner
400 NBError Bad Request
403 NBError Forbidden
Generated using TypeDoc
Is not last owner validator