Table of Contents

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

Users bool

Whether the candidate changes a default or a forced value a user's record is served on.

MailAccounts bool

Whether the candidate changes a default or a forced value a mail account is served on.

Maximum int

The most records the write may judge, users and mail accounts together.

UnderANarrowerGrant bool

Whether 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.