Expand description
The account-linking actions an admin or a teacher sets off by hand, and what they answer.
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§
- list_
unlinked_ enrolled_ before - Lists one course code’s roster now and keeps the people linking mails skip: enrolled before
sinceor at no known time, and linked to no account, each once. Stores nothing. - list_
unlinked_ on_ course_ rosters - Lists the rosters of every course code on the course now and keeps the people linked to no account, whenever they enrolled, each once. Stores nothing.
- 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.