AI engineering · ZST-INS-018

Your retrieval system is only as good as its permissions

Most enterprise search projects fail on access control before they fail on relevance. Permission filtering is not an integration detail.

Published 18 September 2026 Reading 6 minutes Author Zeests Research

Relevance is the visible problem

When a knowledge assistant gives poor answers, the instinct is to tune retrieval: better chunking, a reranker, a larger embedding model. Those changes help. They also distract from a class of failure that no amount of relevance tuning will fix.

If the index does not know who is allowed to see a document, one of two things happens. Either the system returns content the user should not have, which is a security incident, or the team restricts the index to a safe subset, which quietly removes the most useful content and caps quality permanently.

Access is part of the data model

Permission-aware retrieval requires the access model to be represented in the index and enforced at query time, not at ingestion. Documents inherit permissions from their source system, groups change, and a cache built yesterday may contain content the user lost access to last week.

In practice this means resolving the user identity at query time, filtering candidates against source ACLs or a synchronised permission graph, and accepting the latency cost of doing so correctly. It also means handling the messy cases: shared drives with inconsistent inheritance, documents with no owner, and external collaborators.

  • Resolve identity and group membership at query time, never at ingestion
  • Filter before generation, not after, so restricted text never enters a prompt
  • Log which documents were retrieved for which user, for audit
  • Surface permission conflicts rather than resolving them silently

The honest trade-off

Permission filtering reduces recall, because the correct answer is sometimes in a document the user cannot open. The right resolution is organisational: fix the access model, or route the question to a person who can see the source.

Assistants that ignore this trade-off look better in a demo and create a disclosure risk in production. It is worth being explicit with stakeholders about which problem is being solved.

Takeaway

Model permissions in the index and enforce them before generation. Relevance without access control is a liability.

ZST-INS-018 · Zeests Research · Published 18 September 2026

This note reflects our current practice and may change as we learn. It is not professional advice for a specific situation. If you want to discuss how it applies to your estate, we are happy to.

Discuss this with us → All insights