To enable students to unenrol themselves from any course:
- Access Site Administration > Users > Permissions > Define roles
- Click the edit icon opposite the student role
- Change any/all of the capabilities enrol/manual:unenrolself, enrol/paypal:unenrolself and enrol/self:unenrolself (depending upon which enrolment plugins are enabled for the site) from not set to allow
- Click the “Save changes” button at the bottom of the page
To enable students to unenrol themselves from a particular course:
- Go to Settings > Course administration > Users > Permissions
- Click the Allow icon (+) opposite the appropriate unenrolself capability (corresponding to the method in which students are enrolled) and allow the student role
Note: If students are manually enrolled in the course, then enrol/manual:unenrolself should be allowed; if students self-enrol, then enrol/self:unenrolself should be allowed.