---
title: "Comment by Synfinity Dynamics Pvt Ltd on \"Your AI assistant can leak files people aren't allowed to see — here's how to fix it\" | Hashnode"
description: "Excellent breakdown of a problem that's becoming increasingly common in enterprise AI systems. We've noticed many teams focus on prompt injection defenses while"
url: "https://hashnode.com/posts/permission-aware-rag-authorizer-openfga-qdrant/6a3156e774fb77e00e966b16/comment/6a33c1af9a8aaa0f53c6d552"
---

[Discussion](https://hashnode.com/posts/permission-aware-rag-authorizer-openfga-qdrant/6a3156e774fb77e00e966b16)

Comment [Your AI assistant can leak files people aren't allowed to see — here's how to fix it](https://hashnode.com/posts/permission-aware-rag-authorizer-openfga-qdrant/6a3156e774fb77e00e966b16)

[Jun 18](https://hashnode.com/posts/permission-aware-rag-authorizer-openfga-qdrant/6a3156e774fb77e00e966b16/comment/6a33c1af9a8aaa0f53c6d552)

Excellent breakdown of a problem that's becoming increasingly common in enterprise AI systems. We've noticed many teams focus on prompt injection defenses while overlooking retrieval-level authorization. The "authorization before retrieval" approach makes a lot of sense, especially for multi-tenant SaaS platforms where document access policies can vary significantly between customers. Curious how this approach performs when permission graphs scale to thousands of users and documents.
