Constructor GovernedRecordsToJudge
- Namespace
- MailFathom.Infrastructure.Persistence.Policies
- Assembly
- MailFathom.Infrastructure.dll
GovernedRecordsToJudge(bool, bool, int, bool)
Which of the records a policy governs one write of it judges, and under what bounds.
public GovernedRecordsToJudge(bool Users, bool MailAccounts, int Maximum, bool UnderANarrowerGrant = false)
Parameters
UsersboolWhether the candidate changes a default or a forced value a user's record is served on.
MailAccountsboolWhether the candidate changes a default or a forced value a mail account is served on.
MaximumintThe most records the write may judge, users and mail accounts together.
UnderANarrowerGrantboolWhether the write is made under a grant held below the deployment, which may not move the effective settings of an account naming a secret that was not provisioned for one of its users.
Remarks
A write that changes neither section's values judges no record, because an editing restriction cannot make a record invalid and moves nothing a record is served on.