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.
Repository
paulharter/letter
letter
paulharter/letter
letter
Relationship-based access control (ReBAC) extension for PostgreSQL. Enforces permissions via relationships between rows using triggers and planner hooks.
Visit project- First shared
- Sep 23, 2026
- HN activity
- 23
Show HN@paulharterSep 23, 2026
Show HN: Letter – Relationship-based access control (ReBAC) Postgres extension
Community