Permission-Aware Retrieval for Role-Based Enterprise AI Assistants: An Experience Report from a Multi-Site Deployment
Enterprise AI assistants that answer employees' questions from internal documents must satisfy two demands that pull in opposite directions: they must never reveal content a user is not entitled to see, and they must be useful enough that staff rely on them. We report on the design, evaluation, and deployment of four role-based assistants inside Microsoft Teams for a multi-site organization, serving front-line facility staff, branch managers, facility management, and corporate staff from one shared backend. The design layers two independent boundaries: all retrieval runs on the signed-in user's own delegated token, so the platform's permission trimming applies before the model sees anything, and a per-role scope filter narrows retrieval further and hard-excludes sensitive folders. A tiered, consent-gated policy governs what happens when no approved document matches. We evaluated each layer separately, using a deterministic scope audit, a live filter boundary test, role-tester runs on role-representative accounts, and a two-path safety gate for the fallback policy; no restricted content was disclosed in any of these tests. Our main contribution is seven deployment lessons that lab evaluations do not surface, among them: licensing silently stratifies answer quality across employees; scope filters are security-critical code that fail open without error; every retrieval channel, including link dereferencing, must be checked against the boundary; "denied" and "empty" are indistinguishable in permission-trimmed systems; and evaluations can end up testing themselves. We distill these into a checklist for practitioners.
Authors
- Fahad Salamat Randhawa
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-02
- DOI
- https://doi.org/10.5281/zenodo.24756945
- Primary Topic
- Access Control and Trust
- Type
- preprint