📰00Read later0Read MorePostgres RLS for shared documents: three policies and the index that makes them fastDEV Community: postgres·Revercue·2 days ago#8lvvhvN8#devtopostgresql#devto#dev#documents#policy+6 more🧰Tag tools✨Add tagThree policies, one stable function and one index make multi-tenant document sharing safe in Postgres — plus the role that quietly bypasses all of it, and a two-session test that proves the policies hold.15s