top | item 45663540

(no title)

jschorr | 4 months ago

> I remember building a project where we kept a mapping table of users to permissions for quick lookups, but man, it got messy with data updates.

Yep, as I mentioned above, its not an easy problem but once it is solved for you, it becomes "just" watching the events and performing the JOINs.

> especially if we could create an extension for other databases

See my video I linked above about the Postgres FDW: It does exactly this for SpiceDB and works seamlessly as-if there is a denormalized permissions table sitting in your Postgres, while still supporting the full array of complex authorization rules found in ReBAC.

discuss

order

babelfish|4 months ago

Joey is the man and the domain expert on this for sure :-)

jschorr|4 months ago

Happy to answer any other questions :D