I found that if a user has the permission to "view own quiz results" they are also shown the solution to quizzes the have not passed, which in most cases wouldn't be desired bahaviour. See screenshot.

I guess this could be solved by more permissions, but I fear it would be quite clucky ('view results for own quiz if passed' and 'view results for own quiz if not passed', 'view quiz result overview' (as you often want to show percentage). See screenshot.

I suggest solving this in one of the following two ways:

  1. Never link to (give access to) the full result page with the answers if a quiz is not passed, but do if it is.
  2. Let this respect the quiz setting "Display solution" under taking options. See other screenshot.

The second one would be more flexible, but might not be that intuitive, allthough we could clarify this with better help text. Thoughts?

CommentFileSizeAuthor
showanswers-setting.png129.5 KBvegardjo
answersnotpassed.png120.39 KBvegardjo
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

falcon’s picture

We need to do something about this in quiz 4. It is a problem in Quiz 4 core. I'll have to think about this one as well and post another comment here later.

djdevin’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

This issue is being closed because it is filed against a version that is no longer supported.