chore: update queue dashboard authentication and improve course component handling

- Replaced email/token-based authentication with HTTP Basic Auth for the queue dashboard in production.
- Updated course components to use courseId instead of courseSlug for better consistency.
- Adjusted role-based security checks to utilize isStudentExperience for conditional rendering.
- Enhanced view-as-student functionality to redirect correctly based on courseId.
This commit is contained in:
Rotimi Best
2026-06-07 20:32:37 +01:00
parent 3561dc0fda
commit 48ce4d4d64
8 changed files with 45 additions and 64 deletions
@@ -80,6 +80,7 @@
<ViewAsStudentModal
bind:open={viewAsStudentOpen}
courseId={courseApi.course?.id}
courseSlug={courseApi.course?.slug}
currentOrgDomain={$currentOrgDomain}
/>