Open edX Backend: administration
In SAAS and CUSTOM modes the backend registers three models in the Django admin.
Together they let you declare dashboards, group them by function, and assign users to those
groups. (In DEMO and FREE modes these models are hidden, because dashboards come from
Aulasneo’s API and only superusers have access.)
The admin is reached at https://<lms>/admin/ under the panorama_openedx_backend
section.
The three models
Dashboard
A single Amazon QuickSight dashboard.
Field |
Meaning |
|---|---|
|
The QuickSight Dashboard ID (primary key). |
|
Internal dashboard name (unique). |
|
Name shown to users in the MFE tab. |
|
Order of appearance in the menu. Lower numbers appear higher. |
DashboardType
A group of dashboards, representing a function or an audience.
Field |
Meaning |
|---|---|
|
The group’s name (primary key). |
|
Many-to-many selection of the |
|
Available to students. When enabled, these dashboards are offered to students (see the student-view rules in Open edX Backend: Panorama modes). |
UserAccessConfiguration
Maps one LMS user to a dashboard group, a QuickSight identity, and a role.
Field |
Meaning |
|---|---|
|
The LMS user (one-to-one). |
|
The |
|
The user’s QuickSight user ARN. If blank, |
|
|
Typical setup workflow (CUSTOM mode)
Declare your dashboards. For each QuickSight dashboard you want to expose, add a
Dashboardrecord with its QuickSight ID, a name, a display name, and a priority.Group them. Create one or more
DashboardTyperecords and add the relevant dashboards to each. Enable Available to students on any group that should power the student view (make sure those dashboards are parameterized and filtered per learner, as described in Open edX Backend: Panorama modes).Assign users. For each user (or role) that should see dashboards, add a
UserAccessConfigurationlinking the user to aDashboardType, setting their QuickSight ARN (or leaving it blank to use the default), and choosingREADERorAUTHOR.
Once configured, the MFE will show each assigned user the dashboards in their group, ordered by priority, plus the Studio tab for authors.
What the backend does with this
When the MFE requests embed URLs, the backend:
Looks up the user’s
UserAccessConfigurationto find their dashboard group, ARN, and role.For each dashboard in the group (ordered by priority), calls QuickSight’s
generate_embed_url_for_registered_userfor that user ARN and dashboard ID.Returns the list of dashboards with their short-lived embed URLs. Student-view dashboards additionally get the
userId,userFullName, andlmsparameters appended.