pub async fn authorize_course( conn: &mut PgConnection, user_id: Uuid, course_id: Uuid, ) -> Result<Course, ToolError>
The course, if it exists and the user may edit it.