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

Capabilities/moodle/course:enrolconfig

From MoodleDocs
  • This allows a user to set the order of enrolment methods in a course and add/delete and enable/disable enrolment methods in Settings > Course administration > Users > Enrolment methods
  • This capability is allowed for the default roles of manager and teacher