If an assessment admin creates a Reserved Template with a PS Bank Assessment, a teacher user is able to preview it from the assignment (they should receive a polite blocked message instead), and when clicking the 'Questions' tab, the teacher is sent to the 'Forbidden' page instead of the expected polite message. This is happening with the new Results page feature flag on or off.
Everything works as expected for Reserved Templates with District Bank Assessments.
Steps to Reproduce
Login as assessment-admin and create a template assignment with a reserved PS bank exam (there are samples in Arwen)
Login at teacher and assign that template
As a teacher, navigate to the Results page, click the three-dot menu at top right, and select Preview Assignment (or if portal Results page ff is on, click 'Student Preview'
Click Accept. The start button is enabled and the teacher is able to preview reserved assessment questions
Go back to the Results page and click 'Questions' tab. The teacher is taken to Forbidden page (or if portal Results page off is on, click three-dot menu and 'View Assessment')
Previous Behavior: As described in Replication Steps - the Questions Tab and 'Preview Assignment' is not respecting permissions restrictions as expected for Reserved PS exam templates. However, the 'Answer Key' option is.
Behaviour Post 126.96.36.199 Release
The teacher cannot see preview or questions and receives the appropriate message.