Request a demo
← All articles How it works

Entitlement before retrieval: why two people can get different totals

How InsightAsk applies each reader's access rights from the source before anything is retrieved or counted, why that changes aggregates as well as documents, and how every answer is audited.

Most document assistants handle permissions by searching everything and then hiding results the reader may not open. That protects documents. It does not protect numbers. If the total is computed before the filter, a reader learns something about files they are not allowed to see. InsightAsk applies entitlement first, so the documents, the passages and the aggregates are all limited to what the reader may see.

In short

Access rights come from the sources (for example SharePoint permissions, expanded through directory groups) and are compiled into a filter that is applied before anything is retrieved or counted. Two people asking the same question can correctly get different totals, each with its own denominator. Deny is the default, and every answer writes an audit row of what it was allowed to read.

Where the rights come from

InsightAsk does not ask you to rebuild your permissions. Each source keeps its own access control, captured when its content is prepared, and a Space source inherits it by default (the Source ACLs: inherited column on a Space's sources). Group grants are expanded using directory membership synced into InsightAsk, so a grant to a site's members group resolves to the people in that group. A group whose membership cannot be read is not guessed at: it stays unresolved, which means denied.

Applied before retrieval, and before counting

At question time the reader's identity and groups become a filter on the source items they may see. Document search runs only over passages from those items. Questions that count or add across folders select the reader's folders before anything is counted, and an empty selection stays empty: it is never widened. A reader who is locked out is told so, not shown an empty result that looks like "zero".

Who asksWhat they can seeWhat the answer says
An owner of every folderAll four folders24 claims, across 4 of 4 folders
A member without Folder CThree folders19 claims, across 3 of 4 folders you can see
Someone with no accessNoneYou do not have access to any folder in this scope

In Slack and Teams, too

When a channel is bound to a Space, the person asking is resolved to the email address their chat profile reports and answered as that person. A profile with no email is answered as nobody: deny by default. Two people asking the same question in the same channel can correctly get different answers.

The Settings tab of a fictional Claims desk space: model, speed, temperature, max answer tokens, answer from documents and data, public web off, cite sources, suggest follow-ups, instructions, and toggles for MCP server, Microsoft Teams, Slack and embedded widget.
A Space's settings: how it answers (including whether the public web is ever used) and where it is available.

Spaces have their own access, too

Entitlement on sources decides what an answer may read; a Space's own visibility (private, team or organisation) and its members (read, write or admin) decide who may ask it and who may change it. Both apply. Being a member of a Space never grants access to a document the source would deny.

When a source cannot say who may see it

The dangerous case is not a source that denies access; it is one that says nothing. An empty permission list can look like "unrestricted". InsightAsk treats it the other way round: each connector declares whether it reports permissions, and a source that does not cannot be mounted on a shared catalogue at all.

SituationWhat InsightAsk does
SharePoint or OneDrive item permissionsCaptured when content is prepared; group grants expanded from directory membership
A SharePoint site group whose membership cannot be readLeft unresolved, so denied
S3 bucket policy and object grantsRecorded as grants to the named principals, denied until those principals are mapped to people
Confluence space permissions and page restrictionsRecorded; account ids match nobody until an administrator maps them to a person
A connector that reports no permissionsCannot be added to a shared catalogue

Scheduled runs and tools follow the same rules

A scheduled question or report runs with its creator's own access, and its recipients must be members of the Space, so a schedule cannot be used to send someone a summary of folders they could not open themselves. Tools a Space may call are listed explicitly per Space, and tools that write ask a person first unless an administrator says otherwise.

The audit

Every answer writes one row to the access audit: who asked, the scope, what the filter admitted, what was denied, and what was answered. Administrators can look up what groups an identity belongs to, re-sync membership from the directory, and review the audit with denied rows highlighted.

Example · a made-up insurer

Harborview's claims and legal teams share a Space

At Harborview Mutual (fictional), litigated claims sit in folders only the legal team can open. When a claims handler asks the claims Space for the total reserve on open bodily-injury claims, the answer covers the folders they can see and says how many that is. The legal lead asking the same question gets the full figure. Neither answer is wrong, both state their denominator, and the audit shows exactly which folders each one read.

Check it yourself. Before rolling a Space out, ask the same aggregate question as two test users with different access, and compare the totals and denominators. If they match when they shouldn't, the source's permissions are not being captured.

Questions security and risk teams ask

Do we have to recreate our permissions in InsightAsk?

No. Rights come from the sources. What InsightAsk keeps is the directory membership it needs to expand group grants, which an administrator can re-sync, and any mappings for sources whose identities are not email addresses.

What happens when someone leaves a group?

Their access follows the group membership InsightAsk holds. Re-sync membership from the directory after significant changes, and look up the person's groups on the Access tab to confirm what they now resolve to.

Can a Space administrator see everything in the Space?

Administering a Space lets someone change its sources, members and settings. It does not change what the sources allow that person to read when they ask.

Is this a compliance control?

It is a technical control that helps. Whether it meets a particular regulation or internal policy is for your security and compliance teams to assess; treat this article as general information and verify against your own requirements.

Next: a claims team's data Space, end to end.

See it on your own sources

Bring one folder and one table

We'll set up a Space on your own sources and show how each answer is computed or quoted, with the access rules your sources already have, as a hosted trial or inside your own cloud.

Request a demo