Restrict access by role. Assigning role to authentication method

Restrict access by role. Assigning role to authentication method

by nick wilson -
Number of replies: 1

I have 2 enrollment methods set up, and 2 ways to create an account. Enrollment methods are "email based self registration", and "SSO." 

I have 3 total courses. The email based registration should give access to only one course. The SSO should give access to the other 2 courses. I don't want the email based registered users to have access to the other 2 courses. 

Is there a plugin I can use to restrict access to a course.

The catch is that the first 2 courses for SSO are self enrollment. The other course is self enrollment as well. So I thought I could assign roles based on the enrollment method used. I don't think I can though.


Average of ratings: -
In reply to nick wilson

Re: Restrict access by role. Assigning role to authentication method

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Not directly.

You would need to use an authentication / enrolment source that you have complete control over. That is, use something like an external database or LDAP. However, you would need to create your user accounts outside of Moodle.