This data source provides a structured and flexible way to display role-related information within a Dash block. It allows for easy filtering and customization, making it an essential tool for organizing and presenting user roles across different contexts.
With this feature, you can display specific roles assigned to a course, category, or user in a visually clear format, such as tables or grids. For example, you can list:
- Teachers of the current course or specific courses
- Guests and non-editing teachers in the current course
- Course creators across the platform
- Managers of a course category
- Parents of users
- Students enrolled in a course
The data source supports refined filtering options, allowing you to display information based on role type, course, category, or even specific user groups. This ensures that the displayed data remains relevant and tailored to the needs of your users.
Additionally, dynamic filtering and conditions make it possible to combine different criteria, such as showing both guests and non-editing teachers within a course. The data can also be linked to specific course contexts, making it easy to navigate and manage role-based information efficiently.
Data Fields
Role
- Role name
- Short name
- Original name
- Description
Context
- Context name
- Context URL
- Context level
- Parent
Role assignment
- Time modified
Users
- First name
- Last name
- Full name
- Full name linked
- Email address
- Username
- ID number
- City/town
- Country
- Last login
- Department
- Institution
- Address
- Alternate name
- First access
- Description
- User picture URL
- User picture
- User picture (linked to profile)
- User profile URL
- User profile link
- Message URL
- Message
- Group
- <custom fields>
Filters
- User
- Context level
- Context name
- Role name
Conditions
- Role
- Context level
- Course categories
- Courses
- Current course
- Current category

In this example, a course preview page shows all teachers and non-editing teachers for this course.