Quiz activity is not marking as completed

Quiz activity is not marking as completed

by Chelsy Ann Koshy -
Number of replies: 2
The quiz activity was not marked as completed when a user who was in the manager role taken the quiz. But the user achieved 100%  marks in the quiz attempt.

When the same quiz was taken by a student, activity marked as complete.

What should be the reason of not being marked as complete for the user in the manager role?
Average of ratings: -
In reply to Chelsy Ann Koshy

Re: Quiz activity is not marking as completed

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
The Manager role has the capability mod/quiz:preview. Therefore manager users cannot really take the quiz, then can only preview it. Previews do not really count. (Yes, this is a bit confusing.)

If you really want this to work, edit the permissions in the quiz to remove mod/quiz:preview and add mod/quiz:attempt.
Average of ratings: Useful (3)