Skip to main content

seed_admin_actions

Function seed_admin_actions 

Source
async fn seed_admin_actions(
    conn: &mut PgConnection,
    cx: &SeedContext,
    course_id: Uuid,
    teacher_user_id: Uuid,
) -> Result<()>
Expand description

One global_admin and one course_teacher row, so the Audit tab has content without depending on another spec having clicked something.