AutoEnrol icon

AutoEnrol

Maintained by Roberto Pinna, Mark Ward
Adds functionality to automatically enrol users onto a course, either as they log in to your Moodle site or as they access a course. This plugin was at first intended for use on courses which you want all users to be able to access but can also be configured for more advanced purposes as reserved access courses. Using the new user filtering you can think at Autoenrol as a Swiss Army knife for Moodle enrolments.
Price option: Free

Supports Moodle 3.5-4.5 See all versions
Latest release: 1 year ago
Installations: 5814
Downloads (last 90 days): 1534

Frankenstyle name: enrol_autoenrol
Enrolment

Comments

Product ratings and reviews are coming to Moodle Marketplace. Until then, existing comments remain available to read, but new posts have been disabled.

Hi There
I want to delete the plug in from a course as it was applied in error and has enrolled learners who didnt need to be on the course and I can disable it but not delete it - we are running Moodle 3.8.4+ (Build: 20200717)
Yes, it also works with Moodle 3.10
Hi!
Is it safe to use in 3.10?
Thank you!
I think that Manager role has capabilities that do not permit auto enrolment.
Managers can enter into courses without enrolment so no enrolment procedure is called.
Manual enrolment is the only way you can use to enrol them in a course.
Sorry,
Roberto
Thanks Roberto, I was thinking of manager role at system level. We need the managers actually enrolled in the course as opposed to just being able to view without participation. On that note, I am trying instead to Allow by email, but even setting to a specific email address it is not enrolling the Manager. I have set Always enrol to Yes, in case that was required.
Hello Joanna,
Autoenrol is an enrolment plugin, it set the role in a course for users that match the rule.
If I understand what you ask this is not possible because users do not have a role in a course before the enrolment.
HTH,
Roberto
Hello, in the configuration of an autoenrol instance, is it possible to Allow only [role]?
Hello Roberto,
in the autoenrol settings page, I've set the following fields:
Role Student
Enrol When Logging into Site
Always Enrol Yes
and then Filtering:
Group By Department
Allow Only TestDip
Soft Match Yes
Limit 0
It's correctly configured?
Hello Bruno,
if you did not set autoenrol on login, autoenrol works on course access.
You can set this and other advanced feature clicking on Expand All or Show more... links in autoenrol settings page.
Hello Roberto,
thanks for the answer, but what you mean with "set the autoenrol on login", because I didn't done any explicitely action for that?
Anyway, even after the second/third...logins, the user don't see the course because it doesn't become enrolled.
Did you have any idea what I can check?
Thanks!
Hello Bruno,
if you set the autoenrol on login, the course is not shown at the first login in user Dashboard.
This happens because moodle call autoenrol after the Dashboard setup.
There is no way to change it so user will see new autoenrol course from the second login.
HTH
Hello Mark and Roberto,
I installed the plugin in a moodle version 3.9, defined a course and associated with the course the enrollment mode "Auto Enrol", then that of the plugin.
In the plugin configuration, I defined in the "User Filtering" the "Group By" => "Department" and the "Allow Only" field => "3".
In the moodle there is a user where the Department field is = "3", but unfortunately when I do the login with that user, the course is not displayed. Did I forget to configure anything?
Thanks!
Hello Paul,
can you explain what doesn't work? What's your expected behaviour?
Tried using this in 3.9, it works on a single activity format however causes the activity to launch straight away. When changes to any other course format doesn't work.
Hi Natalie,
you can't do it in that field.
If you need to permit access with a OR logic you can setup more autoenrol instances with a single rule in each one.
Implement more complex rules is in the roadmap but I don't know when it will be released.