Start with decisions about people and documents
Ask the owner of each source to tell you who may read it today and who can approve a change. Record the identity the assistant should represent, the document collection, the roles and the allowed actions. Decide whether a person can use the assistant to read material they already have access to in its original location. If your policy intentionally narrows access in the assistant, write down which roles or collections it affects. Include summary, citation, attachment and export views where the product offers them.
Consider a fictitious maintenance company. Everyone can read the approved procedures manual. Supervisors can also read a draft staffing handbook. Staff in one depot can see that depot’s work notes, while another depot has its own collection. The people who own the collections define the rules. Give each role a named test account and set up sample documents with clearly distinguishable, fictional details. Keep a list of what each role should see before you open the assistant.
A role called administrator may administer the assistant without having permission to read either depot’s work notes. Give this role its own test account. Record access to administration, test data and routine answers alongside access to the underlying documents.
Turn the permission matrix into cases
Use one row per person, collection and operation. Include the expected outcome and the source owner who confirmed it. Create separate records for a supervisor at one depot and a member of staff at the other. This makes it possible to tell which rule was exercised when a response changes.
| Test identity | Request in the normal interface | Expected outcome |
|---|---|---|
| Staff member | Find the approved maintenance procedure | Answer with the approved manual as its source |
| Staff member | Find guidance in the draft staffing handbook | No content or citation from the draft |
| Supervisor | Summarise the draft staffing handbook | Summary with the draft as its source |
| Depot A worker | Find a work note owned by Depot B | No content or citation from the other depot |
| Assistant administrator | Open a depot note without membership | Access denied |
Confirm that the people allowed to use a document get a useful response. Keep that evidence next to the denial case. If nobody finds the document, check whether the source is connected and the test account has the intended role before marking the denial as a pass.
Use the language staff use at work. For a topic covered in the approved manual and the supervisor’s draft, check whether general questions from staff are answered using the manual. Agree with the source owner what the assistant should say if the approved material cannot answer a question.
Check the source behind each answer
Read the answer alongside its citations and any available evidence from the approved test environment. Compare the sources considered for the answer with the test identity’s allowed collections. Where the product supports it, verify how document access is evaluated at retrieval. Microsoft Learn describes document-level access controls for Azure AI Search as an example. Check which control your own search or document service uses for each connected source.
Look at the whole experience for each test identity. A denial should protect the document’s content, title and summary wherever your policy treats them as restricted. Check the links and generated downloads available from the answer. Confirm that ordinary users can see only their own authorised conversation history. For evidence views reserved for administrators, agree who should see what before testing those views with named accounts.
Plan the test log before you run any cases. Record the case identifier, time, test role, source and rule applied. Use synthetic documents where possible and retain the minimum evidence your reviewer needs to decide. The owner needs to see which rule failed and which version was used. Store any test output that contains restricted sample information in the agreed project area, with access for the people who will investigate.
Separate permission to read from permission to act
List what the assistant can do in connected systems. In the maintenance example, staff can view a procedure and prepare a draft work ticket. A supervisor can submit a ticket for their depot after reviewing it. Treat reading, drafting, approving and submitting as distinct decisions. Record the user, destination and expected effect of the operation in each test. Use the test system to confirm the actual effect.
- Ask a member of staff to prepare a ticket from an approved procedure. Check that the draft is available and that the test ticket system shows the agreed state.
- Ask that member of staff to submit the same draft. Verify the refusal and confirm the destination was left as it was.
- Ask an authorised supervisor to review and submit a draft. Check that the confirmation names the intended depot, that the ticket exists there and that the audit record identifies the approving user.
Include a case where the approval is withdrawn before submission. Confirm the connected system applies the approved outcome and preserves the existing ticket or draft as required. If the product is read-only, include a check that writing is disabled for its connections. Record which product controls and which system owner are responsible for the final decision.
Recheck access when someone’s role changes
Remove a test supervisor’s membership and measure when the new permission takes effect. Test a fresh session and an existing conversation according to your organisation’s policy for previously generated content. Compare what the assistant shows with any stored conversation state and the source’s updated permission. Record the approved delay and the action to take if the change takes longer. Check that another authorised supervisor still has access.
Make each failed case actionable. Record who owns the source or action, what the permission should have been, what happened and what needs a retest. Keep the permission matrix and evidence together so a new team member can repeat the check. Repeat relevant cases after changing source permissions, group mappings, the search configuration or connected actions. Assign an owner for each trigger.
Base the launch decision on the observed boundaries. Hold any affected source or action if a denied user receives restricted material or if a denied action changes a record. A smaller launch may be possible with the affected capability disabled and tested again in that configuration. Ask the person responsible for the source and the person responsible for deployment to sign off the remaining scope and review the first production permission changes.
Frequently asked questions
- Is a refusal from the assistant enough?
- No. Check the answer, links and available test evidence against the source permissions. Confirm that an authorised user can still complete the allowed task.
- Do we need real HR files to test permissions?
- No. Fictional documents with representative roles and permission rules are sufficient for the initial access checks.
- Who signs off the permissions?
- The source and action owners confirm their rules, and the release owner confirms that the deployed scope has passed the agreed checks.