
Permission-Aware RAG: Why Your AI Must Forget What the User Can't See
The fastest way to turn a helpful AI assistant into a data breach is to let it retrieve without checking permissions. If your assistant reads every document and then answers everyone, it will eventually tell someone something they were never allowed to see. Permission-aware retrieval closes that gap: an answer can only ever be built from sources the person asking is already entitled to open.
- Anton MaciusField CTO
In this article
The fastest way to turn a helpful AI assistant into a data breach is to let it retrieve without checking permissions. If your assistant reads every document and then answers everyone, it will eventually tell someone something they were never allowed to see. Permission-aware retrieval closes that gap: an answer can only ever be built from sources the person asking is already entitled to open.
The over-sharing trap
Enterprise retrieval works by finding the most relevant chunks of your documents and handing them to the model. The trap is that relevance and permission are different questions. The most relevant document to answer an employee's question might be a board memo, a colleague's compensation record, or a legal file — content that's relevant precisely because it's sensitive, and that the employee has no right to see. An assistant that retrieves on relevance alone will surface it, and the model will faithfully summarize it.
An assistant that retrieves everything and answers everyone is an over-sharing engine with a friendly interface.
What "permission-aware" means
Permission-aware retrieval enforces the source system's access controls at the moment of the query. Before a chunk can be used to build an answer, the system checks that the person asking is entitled to the document it came from. If they're not, the chunk isn't retrieved, isn't shown, and isn't used — the assistant answers as if that content doesn't exist, because for this user, it effectively doesn't.
The principle is that the AI inherits the user's permissions, not the system's. The assistant should never be able to see, on a user's behalf, more than the user could see themselves.
ACLs that survive a resync
The hard part isn't checking permissions once — it's keeping them correct as sources change. When connectors re-sync from systems like SharePoint or Confluence, a naive integration can drop the original access controls — a failure covered in depth separately; the point here is that retrieval-time checks are only as good as the permissions behind them. Permissions have to be preserved through every resync, so the access rules the AI enforces are the same rules the source system enforces, still, today — not the ones that were true when the connector was first set up.
Permission-aware retrieval and the record
Every retrieval is recorded with its access scope on the audit ledger. That gives you a specific, provable answer to a question regulators and security teams both ask: can you show that this answer only drew on sources the user was allowed to see? Because the scope is part of the record, the answer is a lookup — which is also how this control satisfies the data-governance obligation that your AI only process data it's entitled to.
Why it's a security control, not a setting
It's tempting to treat access as a configuration detail and move on. But permission-aware retrieval is the difference between an assistant that's safe to point at your real documents and one that isn't. It's also what makes indirect injection less dangerous — a poisoned document can only ever reach users already entitled to its source, so it can't cross access boundaries. Access enforcement at retrieval time is a precondition for enterprise AI, not a nice-to-have.
Frequently asked questions
Let the AI inherit the user's permissions. See how permission-aware retrieval scopes every answer to what the asker is entitled to see, preserves source ACLs through resyncs, and records the access scope on the ledger. Book a walkthrough.