Skip to main content

Module account_linking

Expand description

The account-linking funnel, resending and hand-resolving linking mails, and manual links.

Structs§

AccountLinkingCodeModule
A module on a course code, which shares the code’s enrolment list.
AccountLinkingCourseCode
One course code’s enrolment list: when it is fetched, and what the last one did for linking.
AccountLinkingEmailRow
One linking email, in the full list or the dashboard’s recent ones.
AccountLinkingEngagementCounts
Students waiting for a student number since the cutoff, by what they have done. Mutually exclusive, uncapped, and equal to the overview’s counts for the same step.
AccountLinkingFailureDomain
Hard send failures grouped by recipient domain.
AccountLinkingFunnel
The account-linking funnel. The _last_run steps sum each code’s last enrolment list, a person counted once per code, and the _in_window ones come from the window: there is no single denominator.
AccountLinkingPresser
A student waiting for a student number who pressed “I have enrolled”.
AccountLinkingRecentLink
A student number linked by a linking email or by hand.
AccountLinkingSendOutcome
One mail attempt: the address it went to and what we can say about its delivery.
AccountLinkingSendStatusTotals
AccountLinkingStaleAddress
A person mailed to the cap for one course whose number was never claimed.
AccountLinkingStats
AccountLinkingStatsQuery
AccountLinkingUnusedLink
A link that can still be used, and how old it is.
AccountLinkingWaitingStudent
A student whose registration waits for a student number.
AdminDismissStudyRegistryConflictPayload
AdminLinkingCandidate
A person on a course’s enrolment list whom no account is linked to, whom support can send a linking email.
AdminLinkingCandidates
AdminLinkingCourse
A course support can send a linking email for by hand: one taking part in credit registration with a University of Helsinki course code.
AdminManuallyLinkStudentNumberPayload
AdminManuallyLinkStudentNumberResult
AdminRequestEnrolmentListFetchPayload
AdminRequestEnrolmentListFetchResult
AdminResendAccountLinkingEmailPayload
AdminResendAccountLinkingEmailResult
AdminResolveStudentNumberPayload
AdminResolveStudentNumberResult
The preview a manual link is gated on. No addresses from the registry — resolve-persons answers with a name and an id only — so the addresses here are the ones we mailed.
AdminUnlinkedEnrolees
Everyone on a course’s enrolment lists whom no account is linked to, whenever they enrolled.
LinkingEmailHistory 🔒
The linking emails listed people have had for one course.
ListAccountLinkingEmailsQuery
Filters and paging for the list of every linking email; see credit_registration_account_linking_emails::get_page.
ManualLinkRequest 🔒
The three values a manual link may not be attempted without.
StudyRegistryStudentNumberConflict
A student number the study registry reported for an account that another live link kept us from linking. The existing link stays until someone acts.
VerifiedStudentNumberMethodTotal

Enums§

AdminManualLinkOutcome

Constants§

CANDIDATES_CALLER 🔒
MANUAL_LINK_CALLER 🔒
RECENT_LINKING_EMAIL_LIMIT 🔒
RECENT_LINK_LIMIT 🔒
RESEND_CALLER 🔒
Marks a manual action’s study registry call in the call log as something a person set off.
RESOLVE_CALLER 🔒
STALE_UNCLAIMED_LIMIT 🔒
STUDY_REGISTRY_CONFLICT_LIMIT 🔒
UNLINKED_ENROLEES_CALLER 🔒
UNUSED_LINK_LIMIT 🔒
WAITING_STUDENT_LIMIT 🔒

Functions§

_add_routes
admin_dismiss_study_registry_conflict
POST /api/v0/main-frontend/credit-registration-admin/account-linking/study-registry-conflicts/{conflict_id}/dismiss - Takes a student number clash off the list for good.
admin_manually_link_student_number
POST /api/v0/main-frontend/credit-registration-admin/account-linking/manual-link - Links a student number to an account on an admin’s judgement.
admin_request_enrolment_list_fetch
POST /api/v0/main-frontend/credit-registration-admin/account-linking/fetch-enrolment-list - Makes one course code’s enrolment list due at its next grid point.
admin_resend_account_linking_email
POST /api/v0/main-frontend/credit-registration-admin/account-linking/resend - Sets off another account-linking mail for one person on one course.
admin_resolve_student_number_for_linking
POST /api/v0/main-frontend/credit-registration-admin/account-linking/resolve-person - Looks one student number up in the study registry without changing anything.
build_course_codes 🔒
Every active course code’s schedule, with the modules that share its enrolment list.
build_stale_addresses 🔒
by_name 🔒
finish_resend 🔒
Audits the resend whatever it did, and reports where this person’s mails now stand.
get_account_linking_courses
GET /api/v0/main-frontend/credit-registration-admin/account-linking/courses - The courses support can send a linking email for by hand.
get_account_linking_stats
GET /api/v0/main-frontend/credit-registration-admin/account-linking - The linking funnel, each course code’s enrolment list, the send-status totals, the recent linking emails, who is waiting for a student number and the stale-address list.
get_account_linking_unlinked_enrolees
GET /api/v0/main-frontend/credit-registration-admin/account-linking/courses/{course_id}/unlinked-enrolees
get_credit_registration_linking_candidates
GET /api/v0/main-frontend/credit-registration-admin/registrations/{credit_registration_id}/linking-candidates
linking_email_history 🔒
list_account_linking_emails
GET /api/v0/main-frontend/credit-registration-admin/account-linking/emails - A page of every linking email, newest first.
manual_link_request 🔒
Refuses a manual link that skipped the preview or gave no reason, before anything is asked of the study registry. The person id can only have come from the preview: it is the registry’s own identifier, not something a caller could produce from the student number in front of them.
required_student_number 🔒
to_linking_candidate 🔒
to_linking_email_row 🔒
The admin list row for a mail, with the Sisu name joined and the student’s secrets exposed.
typed_student_number 🔒
required_student_number for a number an admin typed to verify a link, which must also pass parse_student_number: a typo would otherwise link a stranger’s number. Numbers from the study registry are never held to this, as their format is Sisu’s to change.