I have to solve a similar scenario.
The Student take the quiz submit all response and finish the attempt. The quiz is still open, and the student doesn’t have other attempts.
I need that the Students that has passed the quiz are enabled to review and print his attempt, even If the students has failed the quiz they could not review the attempt.
On current version of moodle there is not an option to enable the quiz review tool based on passed failed condition. If I enable Review, later while the quiz is still open student can see failed quiz too.
Is there any option to do that or it need a development?