All Questions
Ai Coding And Product Systems medium

Your workspace AI filters retrieval using ACLs stored in the vector index, which is rebuilt nightly. An admin removes an employee from a confidential project page, but for the rest of the day the employee can still get AI answers drawn from it. What is the right fix?

  1. A Check retrieved chunks against the permission source of truth at query time, and push ACL changes to the index via events.
  2. B Shorten the nightly re-index to an hourly job, since a one-hour exposure window is acceptable for most enterprise permission changes.
  3. C Instruct the model to ignore pages whose metadata shows the user was recently removed, using a timestamp passed in the prompt.
  4. D Cache each user's permission set in the session for its full lifetime so retrieval avoids repeated calls to the permissions service.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions