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
- Signed-in employee The question arrives with the employee’s identity
- Reporting tool Translate the question into an allowed metric request
- Access policy Apply region, team and field limits
- 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.