콘텐츠로 건너뛰기
문의하기
통찰력

ACL-aware retrieval keeps enterprise RAG within permissions

  • 날짜November 24, 2026
  • 범주Architecture

이 글은 현재 영어로만 제공됩니다.

Retrieval-augmented generation is the most common pattern for enterprise agents. A question is embedded, similar chunks are retrieved from a vector index, and the model answers on that basis. The pattern works well for answer quality. It has a structural weakness for security: embeddings forget permissions.

When a document is indexed, it is split into chunks and each chunk is turned into a vector. The access list, which defines who may read the document, stays behind in the source system unless it is deliberately carried along. The agent then finds chunks that are semantically relevant, regardless of whether the requesting person is allowed to see them. The result is predictable. An agent quotes from board papers or salary data because the content matched the question. The question is not whether the RAG knows the answer, but whether it may show it to this person.

ACL-aware retrieval addresses this in five steps.

Step one, carry ACLs at ingestion: for every chunk, the allowed groups and users are stored as metadata alongside the vector. Group names are resolved through the identity provider, so that the index uses the same identifiers as the tokens presented at query time.

Step two, pass the requester's identity through: the agent queries the index on behalf of the person, using token exchange, rather than under its own broad identity. The person's group memberships come from the validated token, never from the prompt. Anything a user or a document can write into the prompt can be manipulated.

Step three, filter before ranking: the permission filter is applied inside the index as a pre-filter, so that only permitted chunks are considered. In a typical configuration, the retrieval step asks for a larger candidate set, for example the top fifty, restricted to chunks whose allowed groups intersect with the groups in the token. A re-ranker then selects the best few for the model. A post-filter applied after ranking is a common mistake. It can return empty or skewed result sets, because the top candidates were chosen before permissions were considered.

Step four, sync permission changes: when access is revoked in the source system, the change must reach the index quickly. Define a maximum lag as a service level objective and measure it. Without this, the index remains a window into content that a person was recently removed from.

Step five, check citations too: source references shown to the user are subject to the same access list. Only show citations from documents the requester can access, and resolve links through the source system's own authorisation.

The pattern has limits and trade-offs. Large group lists strain metadata filters, and some indexes slow down considerably when a filter contains hundreds of values. Nested groups require resolution, which costs time at ingestion or at query time. One practical option is to combine separate indexes per confidentiality level with filters inside each index, so that the most sensitive content is physically separated and filters stay manageable. Another limit concerns source systems with complex permission models, such as item-level exceptions or inherited rights. Mapping these faithfully into chunk metadata requires careful work and testing, and some systems may not be suitable for indexing at all.

A further consideration is that the model itself can leak information across a conversation. If a session mixes content retrieved for different people, or caches responses across users, the access model breaks again. Session and cache boundaries must follow the same identity.

For an architecture team, the next steps are concrete. Inventory the sources that feed your indexes and record how each one expresses permissions. Decide where group resolution happens and how nested groups are handled. Configure retrieval to accept identity only from the token and to apply pre-filters. Define the permission sync SLO and build a measurement for it. Add test cases in which users with different rights ask the same question, and verify that answers and citations differ accordingly.

The takeaway for the board: permissions are enforced at retrieval time, not only at ingestion and never in the prompt.

cloudstrata builds and operates AI platforms for enterprises. AI Foundry is our managed runtime for AI agents, with knowledge retrieval as one of its building blocks alongside multi-tenant workspaces, routing of models and tools, evaluation hooks, usage and cost metering, audit trails and central governance. If permission-aware retrieval is on your agenda, you can request a technical introductory conversation via cloudstrata.io/contact.

연락하다

프로젝트에 대해 이야기해 보시죠

유스케이스를 알려 주세요. 영업 제안이 아닌, 구체적인 다음 단계를 드립니다.

영업일 기준 1일 이내에 답변드립니다.

LinkedIn 및 Instagram에서 Cloudstrata를 팔로우하여 당사의 작업과 채용 정보에 대한 최신 소식을 받아보세요.

응답에만 사용되는 세부정보입니다. 데이터 개인정보 보호

ACL-aware retrieval keeps enterprise RAG within permissions | cloudstrata