How to assign default role of student on email based self registration

How to assign default role of student on email based self registration

by Amit Singh -
Number of replies: 1
I have enabled email based self registration on my moodle server. But the default role given to a registered user is "authenticated user". How can I change it to "student" by default?

Alternatively, I wish the users registered via self registration to be able to access a quiz on home site, outside of all courses. What settings can I change so that the quiz is available to authenticated users.

Thanks and regards
Average of ratings: -
In reply to Amit Singh

Re: How to assign default role of student on email based self registration

by Helen Foster -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Hi Amit,

The best way to enable users to attempt a quiz on the home page is as described in the Roles FAQ 'How do I enable logged-in users to participate in front page activities?'.