We recently upgraded from Moodle
2.5 to Moodle 2.7. In the earlier version, locking the first name, last
name and email address prevented students from editing those fields.
However, after upgrading to version 2.7, we found that students and
faculty are able to edit those fields, even though the three fields are locked
under Manual Accounts > Locked user fields.
As the Moodle System Administrator, I manually upload users via Users > Accounts > Upload users. To further clarify, the one file used to upload users simultaneously enrolls them in the appropriate course. My understanding under these circumstances is that the locked fields should be working, but they aren't.
I
have researched this issue for days, and seen suggestions for
commenting out lines in the edit.php file, but am unsure which lines, or
if this will work in 2.7. I even checked the mdl_config_plugins table
to confirm that the auth/manual values for those three fields state
'locked'. It does.
Can anyone please provide further insight into how I can prevent students and faculty from changing their profiles' firstname, lastname, and email address?
Thank you,Melissa