Skip to main content

Module account_linking

Module account_linking 

Source
Expand description

The account-linking action an admin or a teacher sets off by hand: re-running the linking mail send path for one person on one course. Not a phase: no schedule and no allowance, and no breaker learns from its calls, so one click cannot trip the workers’.

The addresses come from the study registry rather than the ledger, and the claim goes through claim_linking_mails, so the caps and dedup guard apply exactly as they do to the worker.

Structs§

RateCapOverride
An admin’s go-ahead to get past the linking-mail caps by retiring the mails they count; see retire_capped_mails.
ResendAttempt
The outcome of one resend attempt, plus how many capped mails an override retired to get there.

Enums§

ResendOutcome
What one resend attempt came to.

Functions§

resend_for_target 🔒
crate::account_linking::resend_linking_mail_for_target through registry.
resend_linking_mail 🔒
Claims a linking mail for the one person on the course’s roster with this student number.