What is row-level security?
Definition
With row-level security (RLS), the same table or dashboard is filtered automatically by who's looking: a regional manager sees their region, a customer sees their account. The rules are set once and applied to every query.
It can be set up in the database itself or in the analytics tool. It's different from access to whole data sources, which is all-or-nothing.
Why it matters
Different people can need access to the same report while being allowed to see different records. For example, regional managers might share one sales dashboard but each see only their own region. Row-level rules can support that arrangement without maintaining a separate report for every person.
The rule must apply consistently wherever the data can be read, including exports, cached results and embedded views. A filter that a viewer can remove is not an access boundary. Review how identities are mapped to records and what happens when no rule matches. Test with contrasting users and deliberately restricted records, so a report that appears correct for one account does not hide an access problem for another.