Grounding is only as safe as the permissions behind it
A RAG agent that answers from a knowledge base is only safe once the retrieval layer enforces the same access restrictions as the source itself. An index that makes every document searchable without regard for who has which rights gives every user access, through a simple question, to information they would never have seen through the original source. Permission trimming in retrieval is therefore not an add-on applied afterward, it is a condition before the first index is ever built.
