Enrolment: AutoEnrol

Maintained by Picture of Mark Ward Mark Ward, Bobo Roberto Pinna
Adds functionality to automatically enrol users onto a course, either as they log into your Moodle site or as they acess a course. This plugin is primarily intended for use on courses which you want all users to be able to access but can also be configured for more advanced purposes.
1522 sites
76 fans

When added to a course this enrolment plugin can enrol users onto a course automatically, either as they log into your Moodle site or as they click on the course. It is intended for use on site-wide courses such as "Moodle Help" or "Learner Voice".

In addition the plugin has advanced functionality to support autmatically grouping and filtering users based upon their attributes. Depending on how your user accounts are set
up this may help you to give access to certain user groups.

Configuration of the plugin is managed by two permissions which allow administrators to easily control who has access to the plugin.


Screenshot #0
Screenshot #1


Picture of Mark Ward
Mark Ward (Lead maintainer)
Roberto Pinna: Maintainer
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Bobo
    Wed, Mar 22, 2017, 10:44 PM
    I made several changes and fixes to Auto Enrol plugin and I submitted a pull request to Mark on Github last December to merge to his repository.
    My changes are on Github (https://github.com/bobopinna/moodle-enrol_autoenrol) and, if needed, I could help Mark to maintain Auto Enrol plugin.
  • Picture of Mark Ward
    Thu, Mar 30, 2017, 2:57 AM
    Hi everyone,

    Thanks for supporting the plugin - I'm planning some time for upgrading and modernising AutoEnrol but in order to understand how best to progress things I could use more information about how it's being used.

    I've created a survey (link below) which will be really important in deciding the next steps, so please do take a moment to complete it if you're using AutoEnrol.


    Thanks again!

  • Picture of Urpo Karhula
    Thu, Mar 30, 2017, 4:54 PM

    Please consider developing just a one Autoenrol-plugin with other developers instead of the 3 we have now, I'm referring to these;

  • Picture of Tonie Miller
    Wed, Feb 14, 2018, 2:39 AM
    Hello, I am trying to set up multiple user accounts with for testing Moodle over a continuous period of time, is the Autoenrol plugin the best way to achieve this or is there a better set up? We want to make the process easy for everyone to follow. Can someone walk me through the steps? - I'm new to Moodle and am just starting to understand the back end. Thank you!
  • Picture of ian hatton
    Thu, Feb 22, 2018, 10:28 PM
    For reference 2.0 (2017122500) does not work on 2.8 (and assuming also 2.7 and 2.6). The old version listed here does, unfortunately I wasn't able to downgrade after updating to (2017122500). A little bit of bodging with the version numbers allowed this though and the site is working again. NB, when I say doesn't work, it completely broke Moodle's admin menus, couldn't even get to notifications, WSOD with no errors.
  • Picture of ian hatton
    Thu, Feb 22, 2018, 10:31 PM
    To avoid confusion, 2.6, 2.7 and 2.8 should be removed from v2.0 and people should use v1.3 for those versions.
  • Bobo
    Thu, Feb 22, 2018, 10:39 PM
    Thanks for the message. I removed old moodle versions from plugin 2.0 compatibility list.
    Now I'll check it on moodle 2.6-2.8 and try to fix it.

  • Picture of ian hatton
    Fri, Feb 23, 2018, 12:56 AM
    No worries Roberto, just didn't want anyone else experiencing the same issues after updating their plug-ins smile I suspect most users aren't on 2.8 anyway!
  • Picture of Class Revision
    Fri, Jul 20, 2018, 6:36 PM
    I am getting an invalid sesskey error after adding this enrolment plugin to my courses

    Moodle: 3.5 (Build: 20180517)

    AutoEnrol : 2.0 (2018022600)

    I have custom profile field called Class to enrol users automatically upon login.

  • Bobo
    Thu, Sep 6, 2018, 6:01 PM
    sorry but it doesn't seem to be a bug related with autoenrol plugin.
    I've tried to reproduce your problem but I never get any errors.

    If you think it's still related to autoenrol plugin, please fill an issue on GitHub with a step by step test guide to reproduce your problem.

  • Picture of Blair F.
    Sat, Nov 10, 2018, 6:53 AM
    I really like that you maintain a change log on the version page. I wish everyone did that!
  • Picture of Robert Vogel
    Thu, Jan 3, 2019, 10:16 PM
    Hello Team,
    do you think about upgrading to Moodle 3.6 and if yes do you have an idea of the timeframe?
    Thanks for your feedback
    PS: And of course a Happy New Year 2019
  • Bobo
    Wed, Jan 16, 2019, 6:59 PM
    Hello Robert,
    AutoEnrol already works with Moodle 3.6.
    I just updated plugin moodle support.

  • Picture of Nicolas Guzman
    Thu, Mar 21, 2019, 1:35 AM
    Not working on Moodle 3.6
  • Bobo
    Thu, Mar 21, 2019, 4:27 PM
    can you try to explain what does not working. Which version do you use? Please fill a bug issue on GitHub to help me to solve it.

1 2 3 4 5 6 7
Please login to post comments