fixes CNVS-27408
test plan:
- Create a quiz.
- In the availability dates, select one student or section and have
the quiz be open for that student for some time.
- Add another availability lock and select 'Everyone'. It will be
'Everyone Else' and have the availability time set to either in
the past or in the future.
- Take the quiz as the student through the api.
- Ensure that the student is able to answer questions.
Change-Id: I4117632be45a4f743c25363a5f255a90cc7c301a
Reviewed-on: https://gerrit.instructure.com/73668
Tested-by: Jenkins
Reviewed-by: John Corrigan <jcorrigan@instructure.com>
Reviewed-by: Ryan Taylor <rtaylor@instructure.com>
QA-Review: Michael Hargiss <mhargiss@instructure.com>
Product-Review: Jason Sparks <jsparks@instructure.com>