Hello everyone! We are a K-12 educational institution using Moodle as the engine for our entire website. Thus we have two distinct groups of users that we need to serve - our staff and students, and the courses they are enrolled in, along with the general public, who visit certain areas of our website that we have set up as courses with allowed guest access.
What we would like to do is allow the general public to create user accounts on our website, so that they will have certain limited abilities within these public areas, such as the ability to respond to surveys, and so they can subscribe to the forums we set up.
To make this happen, we created a role that we call "Registered Guest", which essentially takes the Guest role and adds a few more limited capabilities to it. The idea is that this role has the ability to conduct a few activities on our website, but cannot see any identifiable information about any other user.
This community here was able to help me set my system up in such a way that, while our staff & students draw their Moodle accounts from an Active Directory database, outside users are allowed to create manual accounts, which require that their user name be their e-mail address. This prevents duplication of user names between the two groups of users.
In my user policies, I have the default role for users who enroll in a course set to "Student." What I would like to do is have different default roles, depending on what type of user you are. If I could get the system to say "oh, well I see you are enrolling in a course from the general public (because your user name has the @ symbol in it), so your role is Registered Guest." Meanwhile, all my Active Directory users are allowed to enroll in courses with their default role set to "Student."
Is this possible to do on a single Moodle site, or am I dreaming? Thank you for your help (and for reading my long diatribe.)