Project: moodle
Issue MDL-37717: add warning when teacher tries to disable enrolment method (same as when deleting it)
Teacher with default permissions can "disable" enrolment method which is used for his/her own access to a course. There is a warning when he/she tries to "delete" the enrolment method. As both actions result in locking the teacher out of his/her course, it would be highly beneficial to have similar warning for "disabling" enrolment method.
Story points: 2