http://moodle.org/mod/forum/discuss.php?d=155490
It's a bit messy but it does work.
Enrolment
Show and hide course category's for groups
This discussion has been locked so you can no longer reply to it.