FeatureFuel
2

Accounts/Teams

Source: supabase/supabase#756 · opened by @joshnuss
It might be worth having the concept of "Accounts", in addition to "Users".

It would make it possible to have teams of users for SaaS apps (multiple users per account) and still be able to use RLS.



Though, it may complicate things a bit, for example, what happens if a user has access to multiple accounts? Maybe the policy checks an array of account_ids, ie CREATE POLICY ... USING (account_id in auth.account_ids())

Caveat: It may create noise for apps that only need one level of identity. Though this kind of feature is tricky to bolt on later.

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests