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 one person: their mailbox, and the records this deployment keeps beside it for them — contacts, tasks, the calendar, notifications, and their own profile.
It keeps the name of what it was first built to serve; the MCP endpoint and the client endpoint both draw on it.
Remarks
A permission belongs to exactly one surface, and its name says which: the domain after mailfathom. is
admin for Administration and anything else for Mail. 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.