Restrict themes to certain groups?

would definitely be useful. got any pointers on how a plugin could work?