Property PrincipalNotAuthorized
- Namespace
- MailFathom.Domain.Failures
- Assembly
- MailFathom.Domain.dll
PrincipalNotAuthorized
Gets subcategory 4, principal authorization: a use case was reached by a principal that was not granted it.
public static MailFathomErrorCode PrincipalNotAuthorized { get; }
Property Value
Remarks
One code covers every way the answer is no — a caller whose grant omits the permission, work admitted under the wrong kind of principal, and a use case reached under no principal at all — because each boundary turns the refusal into what its own callers understand rather than reporting the distinction. It sits in this category because a grant is written in the deployment's configuration, which is where an operator resolves the refusal.