Enum ProtectedSurface
- Namespace
- MailFathom.Domain.Access
- Assembly
- MailFathom.Domain.dll
One of the two halves the published permission vocabulary is divided into.
public enum ProtectedSurface
Fields
Administration = 1The surface serving the deployment's own administration.
Mail = 0The surface serving the mailbox: the MCP tools that read the local copy and the one that answers from it.
Remarks
A permission belongs to exactly one surface and says so in its own name, which is what lets a grant written on the wrong surface be refused at startup instead of sitting there granting nothing. The two halves are disjoint: no permission covers an operation on both.
It is a plain enum because a member is nothing but a name the process reads. What a caller may do is carried by MailFathomPermission, and where a surface is served — which listener, which routes, which authentication schemes — is the host's own question and is answered there.