-
Bug
-
Resolution: Fixed
-
Major
-
2.9 regressions, 2.9.2
-
MOODLE_29_STABLE
-
MOODLE_29_STABLE
-
MDL-51712-master -
As part of the profile page refactoring in https://github.com/moodle/moodle/commit/b19cc4ef25740cc7aae543f9ca85b7263274a47a for MDL-45898, the lines
if (has_capability('moodle/user:viewhiddendetails', $context)) {
|
and
if (has_capability('moodle/user:viewhiddendetails', $coursecontext)) {
|
became
if (has_capability('moodle/user:viewhiddendetails', $usercontext)) {
|
This has resulted in teachers being unable to view any hidden fields in their students' profiles, although the help string for the 'hiddenuserfields' admin config setting still states "Select which user information fields you wish to hide from other users other than course teachers/admins".
Assuming this was a deliberate change, the string 'confighiddenuserfields' just needs updating, but I wonder whether it was deliberate.
- blocks
-
MDL-51630 Combine course:viewhiddenuserfields and user:viewhiddendetails capabilities to prevent confusion
-
- Closed
-
- has a non-specific relationship to
-
MDL-50534 users can not view own email address on my profile without capability
-
- Closed
-
-
MDL-51630 Combine course:viewhiddenuserfields and user:viewhiddendetails capabilities to prevent confusion
-
- Closed
-
- is a regression caused by
-
MDL-45898 Improvements to My Profile
-
- Closed
-
- Testing discovered
-
MDL-51724 Display information on profile if you can access it in any context
-
- Closed
-