Interface IGrantChangeAnnouncer
- Namespace
- MailFathom.Application.Access.Grants
- Assembly
- MailFathom.Application.dll
Tells every replica that something a user's grant is computed from has changed.
public interface IGrantChangeAnnouncer
Remarks
Every replica keeps the grants it computed, so a committed change to a role, an assignment, a group's membership, or the organization a user belongs to has to reach all of them before the next request is answered with what they remember. This is how it does: the replica that committed the change forgets at once, and the others hear of it over the deployment's signal backplane where one is declared and on their own interval where none is.
It is raised after the change commits and never before, and it fails nothing. A change that could not be announced still reaches every replica within the interval, which is the guarantee; the announcement only shortens the wait.
Methods
- AnnounceAsync()
Announces that a change to what users are granted committed.