Table of Contents

Interface IMailRuleActionPermissionReader

Namespace
MailFathom.Application.Rules.Actions
Assembly
MailFathom.Application.dll

Answers which changes one account currently permits a rule to make to its mailbox.

public interface IMailRuleActionPermissionReader

Remarks

A rule declaring an action an account refuses is refused when the rule set is read, so this port is the second half of that answer rather than the first: the two sections reload independently, and an operator narrowing what an account permits does not touch the rule section that would be re-read against it. Without this the revocation would take effect only when something else edited the rules, which for a deletion is the wrong way round.

It answers for the account as it is configured at the moment the change is written down, which is the same instant IAuthoredDeleteEmailDispositionReader is read at and for the same reason: what the operator permits now is what the request may carry, and a run that performs it later carries the answer on the record rather than asking again.

Methods

GetRuleActionPermissions(MailAccountId)

Gets the actions one account permits a rule to take.