Class GrantListingReach
- Namespace
- MailFathom.Application.Access.Grants
- Assembly
- MailFathom.Application.dll
What a listing of groups or role assignments answers within: the whole deployment, or the organizations and users some scopes name.
public sealed record GrantListingReach : IEquatable<GrantListingReach>
- Inheritance
-
GrantListingReach
- Implements
- Inherited Members
Remarks
A listing never refuses over a scope. It answers with what the caller's scopes cover, so an organization's administrator lists that organization's groups and the assignments inside it and nobody else's, and a caller holding the listing's permission over one user lists the assignments made to that user at that user.
Properties
- Deployment
Gets the reach covering everything the deployment holds.
- Organizations
Gets the organizations whose groups, and the assignments inside which, the listing answers with.
- Users
Gets the users the listing answers with the assignments made to and at, wherever they belong.
- WholeDeployment
Gets whether the listing answers with everything, which is when a deployment scope was among those it was built from.
Methods
- Within(IEnumerable<AssignmentScope>)
Builds the reach of the scopes a caller holds a listing's permission at.