Differentiating allowed email domains with same @domain.com but different prefix

Re: Differentiating allowed email domains with same @domain.com but different prefix

by Dirk Meyer -
Number of replies: 0
Thank you for having taken the time to respond.

The site is a course sharing site and we want only confirmed educators to have access to answer keys, questions banks, quizzes etc. The custom role would be applied to users having a pre-approved email format. The process should be automated so when educators with an email address that follows a previously pre-approved email domain come to the site for the first time, a custom role is applied to those accounts giving them access to keys, exams etc. on all courses of the site. Moodle's allowed and denied email domain feature comes close but does not allow for filtering based on what is in front of the @ sign.