-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
2.4.3, 2.5, 2.6
-
MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
As an administrator
1. Go to Site Administration - Users - Accounts - User profile fields
2. Create a "Dropdown menu" custom field - short name = "gender" and name = "Gender"
3. Description = Gender - for example - Male
4. Set "Is this field required" to Yes
5. Set "Who is this field visible to?" to Visible to everyone
6. Enter Male and Female in the menu options field - one per line
7. Scroll to bottom and click Save changes button
8. Go to Site administration - Users - Accounts - Browse list of students
9. Choose a sample student and set the gender as appropriate.
10. Note that the administrator can see the Gender setting on the user's profile page - not just on the edit profile page.
11. Note a course that the sample student from steps 9 - 10 above is enrolled.
12. Note the teacher of the course identified in step 11.
13. Log out of Moodle
14. Log into Moodle as the teacher of identified in step 12.
15. Go into the course identified in step 11.
16. Go to Course administration - users - enrolled users
17. Select the sample student identified in step 9 and 10
18. Note that the Gender field is not visible to the teacher.
What I expected:
I expect the teacher to be able to view the Gender custom field since the field is set for Everyone to view.
What actually happens:
The Gender custom field is not visible to the teacher.
- has been marked as being related by
-
MDL-55854 Roles permissions in order to view custom user fields
- Open