Limit enrollment to certain users

Limit enrollment to certain users

by Jay Knight -
Number of replies: 0
We have a large userbase in our main site, and our moodle installation uses a custom authentication module to allow single-sign-in from our main site. Now, we would like to be able to limit course enrollment based on certain attributes of these users.

Would it be possible to write an enrollment plugin that would allow certain users (based on external conditions) to freely enroll in a course, while others must be moderated?

We may also need to do something similar to the external database enrollment where these certain users get enrolled automatically into a certain course as students.

Do these scenarios seem plausible? I'm still trying to wrap my head around what enrollment plugins can do.
Average of ratings: -