logo

Show HN: Letter – Relationship-based access control (ReBAC) Postgres extension

Posted by paulharter |an hour ago |3 comments

paulharter an hour ago

Hi HN,

This extension provides relationship-based access control (ReBAC) for PostgreSQL.

It's a rewrite of the DDLX permissions system I wrote while working at ElectricSQL, but just for internal use in Postgres rather than for a distributed sync system.

It lets you model the kind of permissions you need for complex multi-tenant applications directly inside the DB.

This extension is still just a beta and not production ready, it needs bunch more testing so don't use it with anything important yet.

esafak an hour ago[1 more]

I'd run some benchmarks to see how well it scales with the number of users and rules.