bullet-train-co / bullet_train

The Open Source Ruby on Rails SaaS Template
MIT License
1.58k stars 244 forks source link

Redirect loop if a team has no members #1554

Open jagthedrummer opened 1 week ago

jagthedrummer commented 1 week ago

I'm working on an app where there's kind of a "Super Team" that should be able to see all other teams and memberships. I updated ability.rb to allow this, but when I go to /account/teams/XXX/memberships I end up in a redirect loop between that and /account/teams/XXX/invitations.

I'm going outside the "normal" BT structure, so maybe this isn't worth addressing on our end.