Simulation · fictional data · about 5 minutes
Enforce access before retrieving documents
An AI help desk should only search documents the signed-in user is allowed to read. Pick a role, run a question, and watch what the assistant can and can't reach.
This is a simulation. Roles here are picked from a menu and answers are pre-written. A production app must verify the signed-in user's identity and enforce permissions on the server — never trust a role chosen in the browser.
1. Choose who is signed in
2. Documents this role can retrieve
SOP-001 · All staff
Password Reset
✓ Can retrieve
SOP-014 · IT staff
Infrastructure Incident Runbook
✕ Filtered out
SOP-022 · HR
Payroll Corrections
✕ Filtered out
3. Ask the assistant
Try one question of each kind: allowed, denied, and unsupported.
What you just practiced
Filtering by role before retrieval means restricted text never reaches the assistant. In the pilot, you'll build this with real sign-in and server-side checks, then write tests for every case.
Join the pilot