Skip to content

Give an AI analyst read-only access people can trust

A regional manager asks an AI analyst for weekly sales. The result should cover the same accounts they can open in the reporting app. Giving the assistant permission to read the whole database makes that boundary depend on something other than the organisation’s access rules.

Where an analyst’s read access is decided

  1. Signed-in employee The question arrives with the employee’s identity
  2. Reporting tool Translate the question into an allowed metric request
  3. Access policy Apply region, team and field limits
  4. Reporting dataset Return only authorised records and fields

Define the permitted slice

Read-only access has two dimensions. First, define the operation the assistant may perform, such as reading weekly counts. Then define which rows and fields the caller may see. A support manager might see counts across a customer account and still have no reason to see a customer’s private notes.

Enforce those limits when the query runs. Pass the signed-in context to the reporting layer, use data interfaces designed for approved fields, and scope each result to that caller.

Follow one answer beyond the chat window

Suppose two managers in different regions ask for “last week’s renewals”. If you cache the answer, include the relevant access context in the cache key and recheck access when reopening it. The person receiving a shared link or export still needs permission to see the underlying records. Restrict raw results in logs and traces to the people who need them for support.

Test with ordinary staff accounts

Run the same reporting question as each role. Save the expected rows or totals and check the response, its drill-down links and its export. Include a manager who moves between teams and an account with no current region. Keep the old answer out of reach when access changes, and give the person with no scope a clear next step.

More articles.

  1. How to test retrieval and citations in a RAG system

    Trace failed answers back to search, source selection or writing, and test whether each citation actually supports the claim.

  2. Build a reporting data model that avoids double counting

    Keep order, shipment and invoice records at the right level of detail so one real-world event contributes the right amount.

  3. Human in the loop: where to keep people in AI processes

    Five ways to keep a person in an AI process, how to design a fast review screen, and how to move the line as you learn to trust the system.

All articles

Want a second opinion on your project?

Book a call and we’ll talk through your options.

JurajCEO, QikBuild

You leave the call with

  • What we would build first
  • A rough price range
  • Whether custom software makes sense for you
Book a 30-minute call

Or write to hello@qikbuild.com