Just a quick question on reasoning...
The User link on the quiz report (mod/quiz/report.php) appears to link to /user/profile.php. This seems to be at odds with other user profile links within a class that point at /user/view.php.
Both instances include the course as a parameter so I'm just wondering why this was the case?
profile.php prevents the viewing of the profile if all of the following are true:
- the user is not looking at themselves -AND-
- forcelogin is set -AND-
- the viewing user doesn't have the "moodle/user:viewdetails" capability on the user being viewed's context (line 70) -AND-
- the user being viewed is not a course contact role
So am I missing something...