The Profile tab shows the learner's details and lets them update their own profile inline, without leaving the dashboard. Edits are made in a modal and saved through Moodle's standard user APIs.
The profile view shows name, email, city, country, department, institution and any custom profile fields. In the edit modal, learners can update:
A camera control on the avatar opens an upload modal where learners can upload, change or remove their profile picture. Uploads are validated as images and saved to the user's standard picture area.
When a learner changes their email, Moodle's email-change confirmation flow applies: the dashboard reports that a confirmation message has been sent, and the new address takes effect once confirmed.
Profile editing is permission-aware:
moodle/user:editownprofile capability and is protected by sesskey on save.