You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Learn already supports quiz creation and question management. However, learners need a safe way to retrieve quiz questions without exposing the correct answers.
This can serve as the foundation for the learner-side quiz-taking workflow and the GSoC 2027 Offline-First Learning project.
Proposed Changes
Allow authenticated learners who are authorised to access an activity to retrieve its quiz questions.
Return question text and available options.
Never expose correct answers or internal answer-key data to learners.
Reuse existing authentication and activity access checks.
Add tests for successful retrieval, unauthenticated access, unauthorised access and answer confidentiality.
Activity