Glossary · Identity & access

Row-level security (RLS)

A database policy that decides per row whether the current identity may read or write it — the enforcement point for tenant isolation.

What is row-level security (rls)?

Row-level security attaches a policy to a table so the database itself evaluates, for every row, whether the requesting identity may see it. Default-deny means no row is visible unless a policy explicitly allows it, so a missing policy is a locked table rather than an open one.

Why it matters

It moves the isolation guarantee below the application, where a code path cannot forget it. That is why isolation claims are worth checking at this layer: an API that says "we filter by tenant" is making a promise about its own correctness, not a structural one.

Related terms

See it in context

Back to the full glossary

Put your agent to work. Keep the decision.

Give your agent a real browser, authorize the accounts it may use, and keep control of every step. Repeated runs compile into skills that replay without a model.