Skip to content
Home/Insights/internal ai assistants
● internal ai assistants

How Can an Internal AI Assistant Respect Staff Access to Documents?

A practical way to scope permissions, document retrieval and access changes before connecting an AI assistant to business information.

Diagram showing a staff request passing an access check to an allowed document, while a restricted document is blocked.
AuthorData Donkey
Updated2026-11-24
Read Time4 min read

An internal AI assistant should only retrieve information that the person asking is allowed to see. That means checking access before documents reach the AI model, keeping permissions current and withholding restricted material when access cannot be verified.

This is a design requirement, not something to assume an AI tool handles automatically. Before commissioning an assistant, ask how it will identify the user, decide which documents they can search and respond when permissions change.

Why retrieval permissions matter

An assistant can use retrieval-augmented generation, or RAG, to find relevant business documents and use them to inform an answer. Microsoft describes granular access control as a challenge in this approach: users and agents should retrieve only content they are authorised to access.

Finding a relevant document is not the same as establishing permission to use it. A search index may contain material from several sources, such as shared folders and databases, each with different access rules. The assistant needs a way to apply the right rules to the person making each request.

A practical access-checking design

The following is a proposed approach to discuss with a developer, rather than a claim that every AI product works this way:

  • Identify the user: Require staff to sign in with an identity the system can verify. Avoid a shared assistant account that makes everyone look the same.
  • Map the sources: List each document store and database, its owner, and where its access decisions are maintained.
  • Check before retrieval: Restrict the search to material the user is authorised to see before passing retrieved content to the model.
  • Keep access changes in step: Define how additions, removals and permission changes reach the search system. Set a response for updates that fail or are delayed.
  • Fail closed: If the system cannot establish access, withhold the affected material and direct the user to the appropriate owner.
  • Test the whole answer: Check summaries and quoted text as well as source links for information the user should not receive.

Microsoft's search index guidance makes an important distinction: document keys identify records for updates, but do not authorise a writer or establish document ownership. For protected content, it says access grants should come from an authorised policy source for the relevant identity. That is a useful question to put to any supplier, even if they use a different search product: where does each access decision come from?

Hypothetical example: a property team

Imagine a property business with general service information available to all staff and a separate folder containing restricted client correspondence. An employee asks the internal assistant, “What should I do next for this client?”

A proposed design would check the employee's identity and search only the sources they are permitted to use. If they cannot access the correspondence, the assistant should not use it to form an answer. It might instead say it cannot access the relevant client information and suggest contacting the record owner.

Now imagine that access to the folder is removed. The team should test how quickly that change takes effect in the assistant, including what happens if the permission update fails. The acceptable delay and fallback need to be agreed for the particular system; neither can be inferred simply from the fact that a search index exists.

Questions to ask before launch

  • Can you show which identity and permission source are checked for each request?
  • What happens when someone leaves, changes role or loses access to a document?
  • Can restricted text appear in an answer, a citation or a stored conversation after access is removed?
  • How are failed synchronisations detected, and who investigates them?
  • Can we test with two staff accounts that have deliberately different permissions?
  • Which information should stay out of the assistant altogether?

Start with a small, clearly owned set of documents and representative test accounts. Test an allowed request, a denied request and an access removal before expanding the scope. Permission checks address a specific access risk; they do not prove that every answer is accurate or that a system meets every business requirement.

For a related customer-facing application, see Data Donkey's website AI concierge. An internal assistant's staff access boundaries need separate scoping.

WORKFLOW PLANNING

Could This Workflow Help Your Business?

Discuss your tools, access and team needs with Data Donkey. We can explore a practical scope, an appropriate pilot and measures of success before making a delivery commitment.