Guides
Permission-aware enterprise AI search: how Duaer keeps document access intact
Permission-aware enterprise AI search filters results by what each person may open in the source system, before any answer is written. Duaer follows the source’s permissions: a document shows up only for people who can open it where it lives, and answers use only those documents.
Why does AI search leak documents?
If an AI tool reads every document with one admin account and then lets everyone ask questions, anyone can stumble onto salary sheets, contracts, or HR records. The model isn’t the problem. The retrieval step just never filtered by person.
How does Duaer filter by permission?
- It records who may read. While indexing, Duaer stores who can read each document in the source: people, groups, departments, and domain-wide or company-wide shares.
- It re-reads every hour. When sharing changes in the source, Duaer reflects it within an hour. In Google Drive and Microsoft 365, a removed share or a member taken out of a group takes effect within 5 minutes; someone who leaves a Slack or Teams channel stops finding it from the next pass.
- It filters before answering. Search and answers use only passages the asker may read. If there are none, Duaer shows “Nothing you may see matches.”
- It narrows when unsure. If a file’s sharing can’t be read, only the account that connected the source sees it, and Duaer marks it as visible to fewer people than in the source.
How does Duaer know who I am in the source system?
- By email first. When your Duaer email matches your email in Feishu, WeCom, Google, or Microsoft, the accounts are matched automatically.
- If the emails differ, people link their own account under Knowledge base in the Duaer employee portal with Link Feishu account or Link WeCom account.
- An admin can also map a member to an account by hand.
- People who aren’t matched don’t get results from that system, and Duaer tells them so, for example that their account is not linked to Feishu yet.
How do I see who can find a document?
- An owner or admin opens Duaer Settings › Access check, enters a document title or link, selects Find, then selects the document.
- The page lists each access rule of the document, such as everyone in the organization, a Feishu group chat, a WeCom department, a member or an email domain, with how many members each rule reaches. Below is the list of members who can find it, up to 500, with the total always shown.
- Enter a member’s email and select Check this member. The answer is that they can find it, with the rules it goes through, or why not: the document is hidden from search, the source is open to its test group only, or no access rule includes them.
- When needed, select Hide from search: no one can find the document, its author included, and a sync does not bring it back. Show in search puts it back.
The page applies the same rules as search, so people it says can find the document find it in search, Ask Duaer and employee assistants. Each check, hide and show is recorded in the audit log.
How do I export who has which permission in a source?
- An owner or admin opens Duaer Settings › Access check and, under Export by source, picks a source such as Feishu.
- By item gives each item with each of its access rules, how many members each rule reaches, and whether the item is hidden from search.
- By person gives each member with how many items of the source they can find, the rules that let them, and whether the source is open to a test group they are not in.
The export applies the same rules as search. The file is CSV and opens in Excel. Each export is recorded in the audit log.
For regular audits, call GET /v1/knowledge/permissions?source=feishu&by=item (or by=person) with an owner’s or admin’s API key to get the same CSV.
What else protects company documents?
- Sensitive content finds documents holding ID, passport or bank card numbers, passwords, keys and more: by default those shared with the company or anyone, or all documents. An owner or admin can choose Hide from search.
- The organization’s audit log records sign-ins, connecting or disconnecting a source, hiding from search, and other changes. It keeps 365 days and has Export CSV.
- For more, see How Duaer keeps your company’s data safe.
Questions
Can Duaer show someone a file they can’t open in the source?
No. Duaer filters search and answers by the source’s permissions and re-reads them every hour. A file whose sharing can’t be read is visible only to the connecting account.
Does Duaer honor sharing through Google groups or SharePoint site groups?
Yes, with an optional grant: the admin.directory.group.member.readonly scope for Google, and SharePoint’s AllSites.Read permission for SharePoint. With it, the group’s members, nested groups included, find what is shared with the group. Without it, the source card names the missing permission, and such files may reach fewer people in Duaer than in the source, never more.
In this section
AI answers with citations and no hallucination: how Duaer does it
To get AI answers with citations and without made-up facts, do three things: answer only from documents the person may read, mark which file each statement comes from, and give no answer when there is no source. The Duaer knowledge base answers this way by default.
Knowledge baseHow to build an AI assistant on your company documents with Duaer (no code)
You can build an AI assistant on your company documents without code. In Duaer, connect the places your documents already live and let the knowledge base index them. People then ask in plain words, and each answer cites its sources and uses only what that person may open.
Knowledge baseTurn SharePoint and Google Drive into a Q&A knowledge base with Duaer
Connect SharePoint, Google Drive, Notion, Jira, Salesforce, Zendesk and more to the Duaer knowledge base. Files stay put; answers cite the source.
Organizations and teamsInvite members and set roles in a Duaer organization
Add teammates to your Duaer organization by email. Four roles make it clear who manages people, who manages money, who builds, and who only works in the employee portal.
Organizations and teamsLet members sign in to a Duaer organization with their company account
Connect your company sign-in to your Duaer organization so teammates come in with one link and no extra password. Free on every plan.