I'm actually tryig to migrate an enrollement plugin i designed for French Education network, who was allow direct enrollement and course entrance considering a defined value in a defined profile field.
The purpose is to allow access without administration overhead to special classes of users tagged by profile information.
On Moodle 1.9 was easy :
just design an enrol plugin that captures the "course entry enrol checkout" form and checks profile using the interactive hooking.
As far as i studied the situation in Moodle 2 :
At course entrance, only the mdl_user_enrolment table is checked, that is : checking for an "already enroled" pre-record.
Now, as the purpose is precisely NOT TO HAVE all potential allowed users pre-enrolled in the course, and allowing newly created (and yet allowed) to apply, i did not found the way to get that old behaviour, "course access" time triggered.
Some one could help to find a soluce ?
Is that description clear enough ?