I hope this isn't a repeat but I searched the forums and online and can find similar but not quite the same question.
I have been developing some courses for different 'companies' and I would like to allow enrolment to certain courses based on the user's email domain, e.g. only users who have the domain @foo.co.nz can access the Introduction to Foo course. Another option could be to automatically enrol someone on a course based on their email domain
I would like this to be an automatic process because I am using email based self-registration. I know that I can do it by topic but I have lots of topics and I think it looks messy and restrictive when it has the restriction showing at the bottom of every topic. Also I don't have a definitive list of potential users or way to bulk message an enrolment key
I am using Moodle 3.5