authentication secrets
injected function use to check if the user is the organization owner
injected logger used to handle the logging
request context [headers, body, params, query].
200 Status OK
This validator will check if a user with owner role updates the role except owner:
Check user token if user is owner. If user is not owner, return 200
Check if owner id matches user id in body. If user id in body is not owner, return 200
Check if owner updates other than owner in body. If not, return 200 else return 400.
400 NBError Bad Request
Generated using TypeDoc
Is roles valid validator