I am wondering if there is a way to lock down which default roles can be selected for people enrolling into a course. I would like to make it so "Administrator" is not a selectable role for individuals who enroll in courses.
It shouldn't be anyway,surely? How are your courses set up?
I am talking about when you create a course under the "Enrolments" section of the Create Course page. It says Student (Site Default) but you can drop that down to select administrator and others.
Yes - but people who enrol into a course can only have the role that you give them; they can't select their own role, so if you set it as student, they will automatically become a student when they enrol. Or are you saying that you don't want your teachers to be able to select other roles when they add enrolments? They can only select roles below them so they shouldn 't be able to select administrators; only the admin can do that.
It sounds as though you are using Moodle 1.9, as in Moodle 2.0 onwards it's not possible to assign the role of administrator anywhere. Also, in Moodle 2.0 onwards when editing a role there is a setting 'Context types where this role may be assigned' enabling you to select whether the role is available in the course context.