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