Method ReadGrantOfGroupAsync
- Namespace
- MailFathom.Application.Access.Grants
- Assembly
- MailFathom.Application.dll
ReadGrantOfGroupAsync(Guid, CancellationToken)
Reads what joining a group gives: every permission its assignments' roles list, paired with each assignment's scope.
Task<ScopedGrant> ReadGrantOfGroupAsync(Guid groupId, CancellationToken cancellationToken)
Parameters
groupIdGuidThe group.
cancellationTokenCancellationTokenCancels the read.
Returns
- Task<ScopedGrant>
The grant the group's assignments give; empty for a group assigned nothing, and for no group at all.