Author: Juan Leyva
MDL-58762 report: Check group permissions in course user reports
Teachers were able to see any student report even with forced separated
groups and capability moodle/course:accessallgroups off.
http://git.moodle.org/gw?p=moodle.git;a=commit;h=9f7af133fde521a54ebb7bab470e7cac77433ade
http://github.com/moodle/moodle/commit/9f7af133fde521a54ebb7bab470e7cac77433ade
+ 3.1 en [nocapability,report_log]
+ 3.1 en [nocapability,report_outline]