This improvement allows you to hide participant emails on grader reports. Motivation was to cut down on the amount of information displayed on grader report without having to alter the fields selected in the "showuseridentity" (Site Administration | Users | Permissions | User Policies | Show user identity) configuration option. This adds a site-wide configuration option that defaults to maintaining current Moodle behavior, and a course-specific override option that defaults to the value of the site-wide configuration option.
To test, as an Admin:
1. Go to:
Site Administration | Users | Permissions | User Policies | Show user identity
2. Under "Show user identity", verify that "Email address" is checked.
3. Check the site administration configuration value by going to:
Site Administration | Grades | Report Settings | Grader Report
There is a new option, on this page, "Show emails in grader report". Verify that the box is checked by default.
4. Check the configuration value for a specific course by going to:
Grade Administration | My Report preferences | Grader report
There is a new option, "Show participant emails". Verify that the box is set to "Report default (Yes)"
5. Go to a grade report for a course and verify that participant emails appear in the report.
6. Alter the "Show participant emails" setting for a course - setting it to Yes should maintain current behavior, while setting it to No should hide the participant email from the grader report.
7. Alter the "Show emails in grader report" setting for the site. Verify that it changes the default value for the course configuration, and shows/hides participant emails on the grader report appropriately.