OBLYTECH Logo
OBLYTECH Logo

Permission-Aware Retrieval Across Departments

Permission aware search for AI answers means checking what the asking person may read before using material to build a response. Set the acceptance rule that supporting sources must be accessible to that person directly. Test it with sample accounts across departments, including denied access, changed memberships, and mixed public and restricted documents.

Define the access boundary before choosing test questions

Start with a concrete decision: may an employee receive an answer based on a document they cannot open? For this retrieval design, the answer is no. A citation that leads to an access error does not repair a response that has already disclosed a restricted detail. Apply the boundary to the information used, not just the links displayed.

Write this rule into the acceptance criteria for the pilot. Include source text, extracted passages, summaries, document titles, and attachments where they contain restricted information. A summary of a confidential planning document should not become general departmental knowledge because it has been shortened. A copied paragraph needs an access decision just as the original document does.

Assign a content owner to decide the intended audience and an access owner to verify how that audience is represented. Have the testing lead record disagreements before the material enters the pilot. Department names are a starting point; project membership, temporary assignments, and individual exceptions may define a narrower audience.

Resolve ambiguous ownership through the wider AI data readiness work. Permission tests cannot establish the intended audience when nobody is accountable for deciding it.

Map permission aware search for AI answers to source access

Create a source register covering the collections proposed for retrieval. Record the collection owner, intended readers, access authority, and the person responsible for resolving exceptions. Add representative document identifiers so testers can compare a retrieved passage with its original location. Keep sensitive names and text out of broadly shared test reports.

Distinguish the identity used to collect documents from the person asking the question. Broad collection access is not evidence that an employee may receive the collected information. Ask the implementation team to demonstrate how the asking person’s permitted scope is established before passages are supplied for answer generation.

Trace a document through its working copies. An attachment may be separated from its parent record, or an excerpt may be stored beside articles from another audience. Treat those transformations as review points. Specify how access restrictions remain attached to the resulting material and what should happen when that relationship cannot be established.

Review chunking knowledge articles for retrieval quality when passages are being separated from documents. For this review, the critical question is whether a passage retains a trustworthy connection to its access boundary.

Build sample accounts that expose department differences

Use approved test identities with realistic memberships rather than one administrator account. Start with an employee in each participating department, a person with cross-department duties, and an account outside the pilot audience. Add an account with a narrow exception if individual sharing is part of the proposed scope.

Choose synthetic documents that make disclosure easy to recognize. For example, create a general travel policy, a department planning note, and a restricted project note with distinct fictional approval phrases. Place them under the intended access patterns. The phrases provide recognizable evidence without exposing employee or business information during testing.

  1. Record which sample accounts should open each document, with the content owner’s agreement.
  2. Sign in as each account and attempt direct access to the original documents.
  3. Resolve differences between expected and observed access before testing generated answers.
  4. Run the same question under each account and record its permitted source set.
  5. Compare the answer, citations, and available retrieval evidence against that set.

Keep expected results independent of the system being tested. If an account can unexpectedly open a restricted source, that is an access problem to resolve, not a reason to mark the retrieval test as passed. Establish a clean baseline before interpreting the answer.

Test denied information alongside permitted information

Positive tests show that an authorized employee can find an approved answer. Negative tests show that a person outside the audience cannot obtain the restricted detail. Run both against the same source so a failed answer is not mistaken for successful protection when the document was simply absent from retrieval.

Ask a neutral question that could match several departments. Then ask for the distinctive phrase in a restricted test document without supplying the phrase itself. Repeat with an indirect request, such as a comparison between the general policy and a project exception. Inspect whether the answer reveals the exception or suggests a restricted document’s contents.

Include a mixed-source question where an allowed document supports part of the answer and a restricted document supports the rest. Define the expected response in advance: answer the supported portion within the permitted scope and state the remaining uncertainty. Do not reward a complete answer if its completeness depends on crossing the access boundary.

Record accidental disclosure separately from ordinary retrieval failure. A permitted document that was missed affects answer quality; a restricted detail that was returned affects the access boundary. Give each failure an owner and retain the test case for regression checks.

Check membership changes and reused answers

Test access changes as part of the workflow, not as an assumption after initial approval. Select an account that can open a synthetic document, confirm its answer, then remove the relevant access through the agreed administrative process. Verify direct access again before rerunning the question.

Agree on the required handling of the interval between an access change and its recognition by retrieval. Identify who can pause the affected collection when the boundary is uncertain. Do not invent a universal refresh interval; establish the acceptance requirement for the information involved and verify the proposed design against it.

Include reused answers in the review. Generate a response as an authorized account, then ask the same question as a different account without that permission. Inspect shared answer stores, conversation continuation, and exported summaries within the pilot’s scope. Require the team to demonstrate how reuse respects the current reader’s access.

Plan the response to a failed revocation test before launching the pilot. Record the affected collections, stop their use where needed, investigate the access decision, and retest the original failure. Coordinate document changes through AI document knowledge workflows so content and access owners can maintain the same boundary.

Make the release decision from an evidence record

For each case, retain the test identity, membership snapshot, document identifiers, expected outcome, observed direct access, question, answer, and result. Capture enough retrieval evidence to determine whether a restricted passage reached answer generation. A clean-looking response alone does not establish that the underlying source selection respected access.

Keep the record itself restricted when it contains sensitive test results. Use synthetic examples in the general release discussion and retain detailed evidence with the people investigating failures. Record unresolved visibility gaps as gaps, rather than marking them passed because no disclosure appeared in the displayed answer.

Release the collection when the agreed cases pass and the responsible owners accept the operating process. Repeat affected cases after changes to source structure, access mapping, answer reuse, or department membership rules. The decision should identify who can suspend retrieval and who signs off on reopening it.

For help planning this work, see AI and ML services.

Questions about difficult access decisions

What if the requester wrote the restricted document?

Authorship should not substitute for a current access decision. A former project member may have written material they can no longer open. Ask the access owner to resolve the intended rights, then use the current approved boundary in the retrieval test.

Can a restricted source support an aggregate answer?

Treat an aggregate as a separate information product with its own approval. If broader distribution is appropriate, have the content owner approve a shareable version and its audience. Do not treat aggregation as automatic permission to use restricted inputs for a wider group.

How should a disputed access result be handled?

Keep the affected material outside the accepted pilot scope while its owner resolves the dispute. Preserve the expected and observed results, identify the decision maker, and rerun the case after the approved audience is clear. Avoid settling the dispute through answer wording.

What if direct access requires another business step?

Distinguish permission from an unfinished workflow, such as an acknowledgment required before reading a document. Define whether that step is part of the access boundary. Include it in the test account’s expected result so retrieval does not silently bypass the agreed reading process.