Why enterprise agents need permission-aware retrieval
Retrieval is not enterprise-ready when an agent can surface information the current user could never open directly.

Richard Liu
Founder and CEO
Retrieval quality includes access correctness
Enterprise retrieval is often evaluated through relevance: did the system find the right passage? In production, a second question is equally important: was the current user allowed to retrieve that passage at all?
A knowledge base can produce a factually correct answer and still create a serious governance failure when its index ignores the access model of the source repository. The risk becomes larger when the same retrieval layer feeds agents that can create artifacts, call tools, or update systems.
Permission checks must survive the whole path
BasilAOS uses one file and folder ACE permission model across storage, search, retrieval, and agent access. The principle is simple: what a user cannot open, their agent cannot retrieve.
Implementing that principle requires more than hiding a result in the user interface. Identity and access scope must be available when the query runs. Knowledge-base results must be filtered against the current user’s Library permissions. The source relationship and provenance must remain attached to the retrieved context. Downstream workflows and skills must not quietly widen the access boundary.
Why indexing alone is not enough
Many retrieval systems copy content into a separate index and treat the index as a new source of truth. That architecture can become difficult to govern when source permissions change, a file moves, or a user loses access.
A production design needs a clear lifecycle for synchronization, deletion, permission updates, source provenance, and query-time enforcement. The retrieval asset may be optimized for speed, but it must remain subordinate to the enterprise access model.
Agents raise the stakes
A search result is visible to one person. An agent may transform that result into a proposal, send it to another system, or combine it with information from several domains. Permission-aware retrieval therefore belongs inside the broader execution model: tool permissions, approval gates, output destinations, audit records, and controlled write-back.
A useful implementation test
Test the same enterprise question with users who have different access. Confirm that the retrieved sources, generated answer, available tools, and resulting actions all respect the intended scope. Then change a source permission and verify that the next run reflects the change.
Relevance makes retrieval useful. Permission correctness makes it deployable.



