Skip to content
ArticlePublished

Enterprise AI search: who gets which answer?

An internal AI assistant makes company knowledge easier to reach. A central design question is how it preserves the permissions attached to that knowledge.

Author and publication

By Netwerk · Published 13 October 2026

Build access control into retrieval

Document-based answering starts by retrieving relevant passages, which the model then uses to compose a response. User permissions must apply during that selection. Once restricted text has reached the model, filtering the final answer is an unreliable boundary. Server-side authorisation should govern every request.

In this article
  1. 1Build access control into retrieval
  2. 2Permissions travel with document passages
  3. 3One question, two legitimate answers
  4. 4Reusing previous answers needs its own design
  5. 5Test the questions the system should leave unanswered

Permissions travel with document passages

Indexing divides long documents into smaller searchable units. Each needs source identity, version information and access metadata. Authenticated users and groups determine the searchable content. Deletions and permission changes must propagate too, keeping the knowledge system aligned with the organisation.

One question, two legitimate answers

In a fictional company, everyone can read the travel policy, while only finance can access an executive benefits appendix. A reimbursement question therefore draws on different sources for different users. Restricted titles and snippets must also stay out of unauthorised results. Where accessible sources provide no answer, the system should say so.

Reusing previous answers needs its own design

Caching can save time and model calls, but only within the right access context. Cache keys need to account for permissions and document versions. Revoking access also raises questions about stored extracts and conversation history. Updating an index alone does not update copies held elsewhere.

Test the questions the system should leave unanswered

Use different roles, deleted documents and revoked permissions. Check that cited sources support the answer. Instructions embedded in documents should remain source content. A useful pilot measures retrieval quality, unanswerable questions and access boundaries together.