Sonality combines Retrieval Augmented Generation(RAG) with Role-Based Access Control (RBAC) at the vector/chunk level to ensure that only authorized information is used for content generation based on user roles and permissions. Any permissions changes are automatically propagated to the most granular access levels. This means that two different users can make the same request to the same Gen-AI agent connected to the same content collection and get different responses based on each user’s roles and permissions.