bgevconsultancy makes Helm-v2 private by default

This fork turns a single-tenant legal-AI product into one built for separate organisations and explicitly shared work.

multi-tenantsecurity

bgevconsultancy has added organisation boundaries throughout the product, with access checks applied across chat, documents, projects, libraries and user activity. The team also built a substantial isolation test suite and expanded it after staging review.

  • Organisation separation keeps one customer's records out of another's workspace.
  • Private-by-default access limits records to their owner unless they are deliberately shared with a colleague.
  • Storage and search results now follow the same project-access rules.
  • A security review found concrete gaps around pending access, blocked users and document ingestion; subsequent work closes them.

The interesting part is the sequence: the team did not stop at adding tenant boundaries, but tested them, reviewed the weak spots and tightened the default permissions.

So what Legal product teams planning multi-client deployments should study this fork's security fixes and sharing model before designing their own.

View this fork on GitHub →

Spotted something wrong? Or know the PR text has fresher detail than the writeup above?

Commits in this thread

11 commits from bgevconsultancy/Helm-v2, oldest first. Source extracted verbatim from the harvested git log.

SHA Subject Author Date
ce21b171 T3.1 org schema and org_id backfill Clava Stripdown 2026-07-22 ↗ GitHub
357d9908 T3.2 org RLS helpers and policies Clava Stripdown 2026-07-22 ↗ GitHub
a7652a70 T3.5a route org_id enforcement Clava Stripdown 2026-07-22 ↗ GitHub
750d8c40 T3.6 isolation test matrix Clava Stripdown 2026-07-23 ↗ GitHub
73512d2f T3.5 route-level org enforcement Clava Stripdown 2026-07-23 ↗ GitHub
20374e4d T12 isolation matrix expansion and signoff runbook Clava Orchestrator 2026-07-23 ↗ GitHub
7a1a13f0 T12 browser isolation grep snapshots Clava Orchestrator 2026-07-23 ↗ GitHub
1f240b03 T12 expand staging signoff runbook Clava Orchestrator 2026-07-23 ↗ GitHub
27d8ebb7 T12 isolation matrix expansion and signoff runbook Clava Orchestrator 2026-07-23 ↗ GitHub
13dba928 T3.7 fix medium security findings (org-scoped pending/deny, chunk RPC authz, ingest storage guard) Clava Orchestrator 2026-07-23 ↗ GitHub
9f52a8e8 Harden private-by-default RLS and org share for first production. Clava Orchestrator 2026-07-23 ↗ GitHub
Apply owner-or-sharee SELECT policies, storage deny for authenticated, match_chunks project access, and org-member picker/API so tenant content stays private unless explicitly shared.

Capture this thread into my fork

Download a single Markdown prompt that tells Claude how to port every commit above into your working tree — adapting paths and structure to match your repo. Run it via claude -p < capture-thread-954.md from inside the repo you want the changes in.

⬇ Download capture-thread-954.md