I created a custom view to let users access their quiz results in place of the default “My results” page. When they click the name of a quiz, they are taken to the result report through ‘node/[nid]/results/[result_id]’. The problem is that I have to allow all users to “View any quiz results” for them to be able to access this page. I don’t want users to be able to see other people’s result reports because this gives away the answers to the quizzes. Can I give access to the [result_id] page without having to grant permission to “View any quiz results”?

Thank you for your help.

Comments

graysonecooper’s picture

Issue summary: View changes

Haven't tried this yet (because I am having a problem having the quiz results show up at all), but I am guessing that you can mask this to the user by passing it through a view that uses a contextual filter - default value - USER ID from Current User

Also, take a look at the existing view user/%/quiz-results for this.

Let me know what works!

djdevin’s picture

Status: Active » Closed (works as designed)

Old issue however this does work in 7.x-5.x. The permission has been moved to the feedback section, so you can control what the user can do per-quiz.