Can it show someone something they shouldn’t see?
Most retrieval systems fetch the closest matches, then filter the results by permission. The filter runs after the search. Even when the text is removed, ranking, result counts and citations still carry information about documents the user was never cleared to know existed. The fix is to apply the permission filter to the corpus before similarity is scored — which changes the query, not the prompt.