pub async fn get_course_related_roles(
conn: &mut PgConnection,
course_id: Uuid,
) -> ModelResult<Vec<Role>>
Expand description
Gets all roles related to a specific course. This includes:
- Global roles
- Organization roles for the organization that owns the course
- Course roles for this specific course
- Course instance roles for any instance of this course