-
Richard Mansfield authored
When dispay_name is called, a check is made to see if the logged-in user is a tutor in one of the displayed user's groups, and if so, the logged-in user is allowed to see the displayed user's real name. Recent group changes allowed the submission of views to be independent of the grouptype (which only defines the list of roles), and the tutor lookup was being performed even in groups that don't accept submissions. Change-Id: I8143a2a8c966f67da75230ff0c0b572437f05190 Signed-off-by: Richard Mansfield <richard.mansfield@catalyst.net.nz>
d8d579e3