Re:EdgeDB 2.0
by RedCrowbar on Thursday July 28, 2022 @07:35PM
(#32271366)
EdgeDB does not use Postgres RLS, access rules are injected into every query by the query compiler instead. This side-steps the RLS gotchas and limitations (RLS does not allow aggregates in rules, EdgeDB does), but also yields somewhat better query performance.
Does EdgeDB implement object-level access control on top of PostgreSQL's RLS? Have you run into any tricky edge cases? Did you have any particular inspirations for the design (e.g. Google Zanzibar)?
[1]: https://news.ycombinator.com/item?id=32241820