Table of Contents

Property AdminRolesWrite

Namespace
MailFathom.Domain.Access
Assembly
MailFathom.Domain.dll

AdminRolesWrite

Gets the permission covering roles, groups, and role assignments: defining a role, keeping a group and its members, and assigning or revoking a role at a scope.

public static MailFathomPermission AdminRolesWrite { get; }

Property Value

MailFathomPermission

Remarks

Held at the deployment scope it is the root: its holder may write any published name into any role, their own included, so granting it there is granting everything. Held at an organization it reaches that organization's groups and the assignments inside it, and never a role's definition. Every write it performs that could widen somebody is bounded by what its writer already holds, and none of the three writes it performs that could take it from its last holder at the deployment scope — revoking the assignment, narrowing the role, removing the member — is admitted; erasing that holder, or moving them out of the organization whose group gives it to them, is another permission's act and is not refused over it — see ADR 0012.

The built-in Organization administrator and Administrator roles were seeded listing it before any build published it, so a stored name that read back as unpublished until now grants it from this build on.