Ask HN: The state of Firebase alternatives in 2020?
31–40 of 41 posts
Re: Ask HN: The state of Firebase alternatives in 2020?
#32Re: Ask HN: The state of Firebase alternatives in 2020?
#33Earlier quoted context omitted.
Is there/will there be multi-tenant support for auth in Supabase?
I may have misunderstood the question so feel free to push back if this doesn't make sense - We use Postgres Row Level (RLS) security, so you can do some very advanced rules. For example, one of our team built a social network with PG and RLS: https://github.com/steve-chavez/socnet/blob/f1abaadaaedb7c8e... RLS is flexible enough to cover multi-tenant scenarios, though it's up to you how you structure your schema to m…
Re: Ask HN: The state of Firebase alternatives in 2020?
#34hasura.io
Re: Ask HN: The state of Firebase alternatives in 2020?
#35Re: Ask HN: The state of Firebase alternatives in 2020?
#36Earlier quoted context omitted.
I may have misunderstood the question so feel free to push back if this doesn't make sense - We use Postgres Row Level (RLS) security, so you can do some very advanced rules. For example, one of our team built a social network with PG and RLS: https://github.com/steve-chavez/socnet/blob/f1abaadaaedb7c8e... RLS is flexible enough to cover multi-tenant scenarios, though it's up to you how you structure your schema to m…
Are there plans to introduce an API similar to this then? https://cloud.google.com/identity-platform/docs/multi-tenanc...
There are several strategies for multi-tenancy in postgres. You can create a completely new database, a schema, or a have the tenancy as rules/logic in the same schema. I'd prefer the latter right now since RLS enables it so easily and it's more flexible - you can create the policies for your own tenancy structure.