http://moodle.org/plugins/view.php?plugin=enrol_autoenrol
Hi Folks,
I've added a new enrolment plugin called AutoEnrol onto the Plugins directory. I developed this to help with global courses like "Learner Voice" or "Moodle Help" which all users need access to, but unlike Self Enrolment this plugin enrols a user onto a course without asking any questions the moment they load the course. For courses with a global importance the plugin can also automatically enrol users to a course upon login. Additional options are controlled through a user permission which means that only users with advanced priveledges will be able to set the enrol-on-login feature.
In order to make the plugin more useful I have also added options for automatic grouping of users based upon their user attributes and also added a filter option meaning you could only allow automatic enrolment for members of a particular department or authentication method.
The plugin has been running on our live server since September and I have also sent it to colleagues at other colleges in my area, however I have released it as 0.9 for now just in case any issues arise from different configurations and environments.
I hope the community finds this useful!