When validating a trust scoped token with disabled trustor, an exception of type Forbidden with message 'Trustor is disabled.' is raised.
However, the exception used when the user (owning the role assignment for the provided token) is disabled is Unauthorized.
This should be changed in order to make the API consistent.
When validating a trust scoped token with disabled trustor, an exception of type Forbidden with message 'Trustor is disabled.' is raised.
However, the exception used when the user (owning the role assignment for the provided token) is disabled is Unauthorized.
This should be changed in order to make the API consistent.