Permission-Aware RAG: End-to-End Testing with the SpiceDB Testcontainer
RAG pipelines leak data when the retriever ignores permissions, so retrieved chunks can be post-filtered through SpiceDB, a Zanzibar-style ReBAC engine, before they reach the LLM.