https://moodle.org/plugins/enrol_coursecompleted
Sometimes a person has to follow an introduction course before one can participate in the advanced session. Some programs have planned progression paths that users can complete in their own time. With this plugin it is possible to create a chain or tree of courses. The moment a student completes a course, he/she is automatically enrolled into another course. But the plugin can also be used to give a user another role upon course completion.
A student completes the course "Introduction to Moodle"
=> the student is automatically enrolled in the course "Advanced Moodle"
When the student completes the course "Advanced Moodle"
=> the student is automatically enrolled as a participant in the course "Professional Moodle"
When the stutent completes the course "Professional Moodle"
=> the student is automatically enrolled as teacher in the course "Introduction to Moodle"
=> the student is automatically enrolled as a participant in the course "Teachers room"
Renaat