headless_lms_models::roles

Function get_course_language_group_related_roles

Source
pub async fn get_course_language_group_related_roles(
    conn: &mut PgConnection,
    course_language_group_id: Uuid,
) -> ModelResult<Vec<Role>>
Expand description

Gets all roles related to any course in a language group. This includes global roles, organization roles for any organization that has a course in the group, course roles for any course in the group, and course instance roles for any instance of those courses.