also support adding groups to a team, refs #8501