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=85b531e8beae3497ec2075e07e59c581fccb317c
http://github.com/moodle/moodle/commit/85b531e8beae3497ec2075e07e59c581fccb317c
+ 3.4 en [nocapability,report_log]
+ 3.4 en [nocapability,report_outline]