limit the number of courses per user

limit the number of courses per user

by Виталий Петровский -
Number of replies: 1
Good afternoon. I really need help. I need to limit the number of courses that 1 user can enroll in. This should apply to all users. It is impossible to manually deny courses to users, because there are many courses and users. Tell me if there is a plugin, or maybe something else to do this.
Average of ratings: -
In reply to Виталий Петровский

Re: limit the number of courses per user

by Mark Johnson -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

The only way I can think do this would be to use an enrolment method plugin that checks the user's existing enrolments, before enrolling them on a new course. I have no idea if such a plugin exists already, but you could check the plugins database: https://moodle.org/plugins/?q=type:enrol