-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
4.1, 4.2
-
None
-
MOODLE_401_STABLE, MOODLE_402_STABLE
I think there should be another visibility option for parents. It has messed up with the teachers.
Conditional statement added in MDL-71621 in support of parents role is always applied to teacher viewing student profile with course context.
} else if ($this->userid > 0) { |
return has_capability('moodle/user:viewalldetails', $context); |
} else { |
Resolution is to create another visibility option Visible to user, parents and admins which will be specific for parents.