This function asserts if a passed AuthenticatedManagementSubject has necessary permission to execute a given operation. If any checks fail, it raises an AxGuardError with the code UserNotAuthorized.
AuthenticatedManagementSubject
AxGuardError
UserNotAuthorized
GqlAuthorizationOptions
Generated using TypeDoc
This function asserts if a passed
AuthenticatedManagementSubject
has necessary permission to execute a given operation. If any checks fail, it raises anAxGuardError
with the codeUserNotAuthorized
.