Skip to main content

Module course_credit_registration_consents

Module course_credit_registration_consents 

Source

Structs§

CourseCreditRegistrationConsent

Functions§

get_by_user_and_course
None means never asked; consent_given = false means asked and declined. Only the former re-opens the course-start dialog.
get_by_user_id
get_consenting_user_ids_for_course
upsert
Records the student’s answer, keeping both timestamps so gave-then-withdrew history survives.