Design permission-aware retrieval for a company with overlapping teams and exceptions.
Instruction: Explain how you would support complex permissions without creating constant retrieval bugs.
Context: Assesses whether the candidate can design a practical architecture and explain the main tradeoffs. Explain how you would support complex permissions without creating constant retrieval bugs.
Updated
Official answer available
Read the opening below, then unlock the full answer and practical guidance.
I would derive identity and permissions on the server and attach enforceable access metadata to each document and chunk. The model would never supply its own tenant or permission filter...
Related Questions
-
easy
-
easy
-
easy
-
easy
-
easy
-
easy