We're currently working on documenting the new features and improvements in 5.2, ready for its release soon.

Capabilities/enrol/self:unenrol

From MoodleDocs
  • This allows a user to unenrol other users who were enrolled via Self enrolment in Settings > Course administration > Users > Enrolled users
  • This capability is allowed for the default roles of manager and teacher