Expand description
The account-linking actions an admin or a teacher sets off by hand, what they answer, and the roster listing a student’s own visit books.
Structs§
- Manual
Action Context - What a manual action needs from the controller that runs it.
- Rate
CapOverride - An admin’s go-ahead to get past the linking-mail caps by retiring the mails they count; see
retire_capped_mails. - Registry
Person - The Sisu person an interactive lookup found for a student number.
- Resend
Attempt - The outcome of one resend attempt, plus how many capped mails an override retired to get there.
Enums§
- Person
Lookup Error - Why an interactive person lookup could not say whether the number exists.
personNotFoundis an answer, not one of these. - Resend
Outcome - What one resend attempt came to.
Functions§
- book_
listing_ for_ unlinked_ student - Books a listing of the module’s course code for a student we hold no number for, since the
listing is what mails them the link.
is_visitalso books the follow-up listing a visit gets. Does nothing for a linked student, or a module with no course code. The caller checks that account linking is switched on. - look_
up_ person - Looks one student number up in the study registry without changing anything: no ledger row, no claimed mail slot, just the call log row every study registry call writes.
- resend_
linking_ mail_ for_ target - Shared by the teacher- and admin-facing resend endpoints: refuses a target that is already
linked, otherwise reruns the send path exactly as the worker would, applying
rate_cap_override, if any, only once the registry has named an address to mail.