Row Level Security explained with one tiny example
The idea behind Row Level Security (RLS) is simple: instead of trusting your app to filter data, the database refuses to return rows the caller isn't allowed to see. This post takes RLS from "I've heard of it" to "I…