authSecrets authenticate secrets
injected logger used to handle the logging
request context [headers, body, params, query].
200 Status Ok
This validator is used to check if the user is super admin by applying the following steps in sequence:
if the user is not changing the promotion status, then skip this validation
Authenticate the user token (authenticate)
Get the fieldValue from the context
Check if the user is super admin
401 NBError Unauthorized
403 NBError Forbidden
Generated using TypeDoc
Has super admin only field validator