Table of Contents

Class GrantChange

Namespace
MailFathom.Application.Access.Grants
Assembly
MailFathom.Application.dll

One administrative change to a role, a group, or a role assignment.

public sealed record GrantChange : IEquatable<GrantChange>
Inheritance
GrantChange
Implements
Inherited Members

Remarks

A record names identifiers and published permission names and nothing an operator wrote as a label: a role's or a group's name is read from its listing by whoever may read one, and a renamed record is reached by the identifier that stayed the same.

Constructors

GrantChange(GrantAct, Guid, string, DateTimeOffset)

One administrative change to a role, a group, or a role assignment.

Properties

Act

What was done.

ActingAdministrator

What the administrative surface admitted the caller as.

Assignment

Gets what was given or taken away, for RoleAssigned and AssignmentRevoked.

Member

Gets the user who joined or left a group, for GroupMemberAdded and GroupMemberRemoved.

OccurredAt

When the change committed.

Permissions

Gets what a role grants from now on, for RoleCreated and RolePermissionsReplaced: each entry as it was written, a pattern as the pattern.

RecordId

The role, the group, or the assignment it was done to.