Skip to main content

Module study_registry_student_number_conflicts

Module study_registry_student_number_conflicts 

Source
Expand description

Student numbers a registrar reported that could not become a link because another stood in the way.

Structs§

UnresolvedStudyRegistryConflict
A conflict that still holds: the account does not hold the reported number.

Functions§

count_unresolved
How many conflicts still hold.
dismiss
Takes a conflict off the list for good: the same account and number are not recorded again. Returns false when it was already dismissed or is gone.
get_unresolved
Conflicts that still hold, newest first.
record_person_conflict
Records that a registrar-reported link could not take its Sisu person because blocking_link_id, another account’s live link, already holds that person. Nothing is recorded unless link_id’s number is still the latest one a registrar reported for its account, or once an admin has dismissed the same conflict.