Method PermissionsFor
- Namespace
- MailFathom.Application.Agent.Answering
- Assembly
- MailFathom.Application.dll
PermissionsFor(AgentProposedAct)
Gets the grants a person has to hold for an act to be carried out on their acceptance.
public static IReadOnlyList<MailFathomPermission> PermissionsFor(AgentProposedAct act)
Parameters
actAgentProposedActThe act.
Returns
- IReadOnlyList<MailFathomPermission>
Every grant the act's use cases ask for.
Remarks
Stated here so an acceptance the grant cannot carry out is refused before it is recorded, rather than recorded and then failed.
Exceptions
- ArgumentNullException
Thrown when
actis null.