Prompt
Do I need permission-aware search if everyone already has access to most docs?
Latest observation
Nov 5, 2026
OpenAI APIWeb search: off
Yes — usually you still need permission-aware search, even if “most docs” are broadly accessible.
Why:
- The exceptions matter. Even if 90–99% of documents are public to a user, the remaining restricted docs can still leak sensitive info if search ignores permissions.
- Search can expose existence. Not just content. A restricted document title, snippet, or even “no result” behavior can reveal something a user shouldn’t know exists.
- Access changes over time. Today’s broad access can become tomorrow’s exception as teams, projects, or contracts change.
- Regulatory and trust risks. One bad exposure can create security, compliance, and reputational issues that outweigh the convenience of simpler search.
- Shared systems are messy. Folder-level, group-based, external partner, or time-limited permissions often create edge cases that are easy to miss.
That said, you may be able to use a lighter-weight approach if the risk is genuinely low:
- Only index documents already accessible to the user at query time
- Filter results by ACLs/roles before returning them
- Use coarse permission tiers instead of per-document checks if your model allows it
- Hide snippets for restricted documents
- Add audit logging and periodic permission revalidation
A practical rule:
- If search is used for internal convenience only and documents are truly non-sensitive, you might simplify.
- If search surfaces confidential, customer, HR, legal, financial, or partner docs, permission-aware search is strongly recommended.
If you want, I can help you decide based on your setup (e.g., SharePoint/Drive/Confluence/SQL-backed search, internal vs external users, permission model).