Ingestion: connectors for each source (drive, wiki, tickets) that sync content together with its ACL (users, groups, inheritance), with change events keeping both content and permissions fresh.
Index: store group or user permission metadata with every chunk; hybrid search with a filter on the requesting user's groups applied inside the query; reranking only on permitted candidates.
Query path: authenticate the user, resolve group membership, rewrite the question, retrieve with the filter, assemble context with citations, and generate; apply a final check that every cited chunk is permitted.
Risks and tests: stale permissions (revoked access must apply quickly), cache keys that include the permission context, adversarial tests for leakage, and audit logs of what was retrieved for whom.
Loading…