This is another variant of LoginView. This one is for building a role-based dashboard. It instantiates the template for each applicable RoleGroup. A RoleGroup is considered applicable when all a user is in all of its roles.
Of course, since Google Blogs screws up my code, I have to put it here.