forked from instructure/canvas-lms
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
only render quiz restriction checks when trying to take the quiz
fixes CNVS-22655 fixes CNVS-22833 the can_take_quiz? method renders an access_code restriction template or an ip restriction template if those things are required for the quiz. previously, those were presented when trying to take the quiz, but a recent change made it so that they were presented when simply trying to view the quiz. this reverts to the previous behavior. test plan: - as a teacher, create an access code or ip restricted quiz, publish it - as a student, you should be able to view the quiz without being prompted for an access code (or from an invalid ip) - as a student, when trying to take the quiz, the restrictions should apply correctly - as a student who meets the restrictions, you should be able to take the quiz Change-Id: Iedc78c3728501da56710e00857527a7323633eeb Reviewed-on: https://gerrit.instructure.com/62089 Reviewed-by: Rob Orton <rob@instructure.com> QA-Review: Adam Stone <astone@instructure.com> QA-Review: Pedro Fajardo <pfajardo@instructure.com> Product-Review: Rob Orton <rob@instructure.com> Tested-by: Rob Orton <rob@instructure.com>
- Loading branch information
Showing
4 changed files
with
55 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters