Git commits in Moodle 2.8.8 by Davo Smith

commit 8781542c0f47a694b03f61280e9eef9f28be8cbe
Author: Davo Smith <git@davosmith.co.uk>
Date:   Thu, 20 Aug 2015 21:46:59 +0800
Tag:    v2.8.8

MDL-49826 gradereport_singleview: fix permission check