pub async fn first_chapters_to_unlock(
conn: &mut PgConnection,
course_id: Uuid,
) -> ModelResult<Vec<Uuid>>Expand description
The chapters a student starts chapter locking with: the base module’s chapters up to and
including the first one with exercises. Errors with NotFound if the course has no base
module.