Expand description
What one code’s roster does to the modules on it: waking linked students’ registrations and claiming linking mails for everybody else.
Structs§
- Linked
Accounts 🔒 - The accounts linked to someone on one code’s roster, indexed once for every module on it.
Functions§
- claim_
linking_ 🔒mails - Claims a linking mail for everyone on one module’s roster we hold no link for, and returns the counters its configuration row carries.
- distinct_
people 🔒 - A person enrolled on several realisations of the code is listed once per realisation; keeps the most recent enrolment of each, one with no enrolment time counting as the oldest.
- linking_
candidates 🔒 - The people on one module’s roster a linking mail may go to, and the counters of those it may not: already linked, or with no address to mail.
- load_
linked_ 🔒accounts - The accounts already linked to someone on the roster, by Sisu person id or student number.
- reconcile_
roster 🔒 - Wakes and mails for one code’s roster, module by module: mails and links are per course. Returns the linking mails claimed across the listing’s modules, for the caller’s roster-fetch summary.
- roster_
enrolees 🔒 - The linked accounts on the roster, each with every enrolment id the registry lists them under.