In the app, we use some information returned by mod_quiz_get_quizzes_by_courses to be able to determine if a user is able to review an attempt or not. For example: reviewattempt, reviewspecificfeedback, etc.
These fields are only returned if $accessmanager->prevent_access() returns an empty array.
When a quiz is closed, the function prevent_access() returns the message: "This quiz is currently not available." This means that, when a quiz is closed, we cannot determine if the user is able to review the attempts or not. There might be other cases affected by this depending on the quiz access rules installed in the site.
- will help resolve
-
MOBILE-4707 Users cannot access attemps review when a quiz is closed
-
- Tested
-