Capabilities/moodle/course:viewhiddenuserfields
From MoodleDocs
- This allows a user to view any hidden user fields (such as city/town, country or last access) on the course participants page
- This capability is allowed for the default roles of manager, teacher and non-editing teacher
Note: User fields may be hidden by an administrator in Settings > Site administration > Users > Permissions > User policies. None are hidden by default.