Info: Moodle 1.9, approx 900 users.
I've been working on an existing Moodle installation. I've done various updates and improvements to the site and this has raised an interesting problem:
In order to customise two "groups" of people, I set up two similar roles - call them role 1 & 2 for now - and made a few functions and configuration changes that work out what role they are in and produce different content (layout etc).
Now - here's the problem...
The different roles should have access to different courses. Some need to be automatically assigned, some do not.
The way the site is designed is that users should effectly have privacy in their "role's version of the site"...
For example -
users i, ii, iii in role 1 should be auto enrolled to course a, b.
users iv, v, vi in role 2 should be not be enrolled to anything by default, but may manually be invited to say - courses c, d, e.
Having done a quick google and look around the forums, I suspect it's something to do with default role...
BUT, can I control default roles and their subscription to courses?
When I add a new user he has no site subscriptions, which is correct behaviour.
It is ONLY when they get assigned to roles that they see ALL the courses (and hence private to their group content).
To re-iterate what I've described above... I need to be able to auto enrol ONLY certain roles to a course.