Workspaces and tenants
Verin uses two concepts to scope data: tenants (the hard isolation boundary) and workspaces (the working organization within a tenant).
Tenants
Section titled “Tenants”A tenant is a customer organization. Tenants are the unit of:
- Data isolation — every document, embedding, signature, and audit-log entry is tagged with
tenant_id. Every query filters on it. Cross-tenant retrieval is structurally impossible by design. - Configuration — PII redaction, monitoring subscriptions, model preferences, retention policies, integration credentials are all per-tenant.
- Billing and contracts — one tenant per customer agreement.
- Authentication — tenants map to identity providers (Auth0 organizations, customer SSO, etc.). Users belong to a tenant.
Tenants are the strongest isolation boundary in the system. The same is true in storage (Postgres tenant_id column on every table that holds customer data) and in the vector store (per-tenant filter on every search). There is no shared model trained on customer data; LLM calls scope retrieval to the tenant before generating responses.
Workspaces
Section titled “Workspaces”A workspace is a way to organize work within a tenant. Workspaces typically map to a project, a product line, an investigation, or an audit. Within a tenant, a workspace lets you:
- Group documents that belong together
- Run queries scoped to a specific evidence subset
- Share work with a defined set of users
- Generate reports against a specific evidence base
Workspaces are not an isolation boundary. Anyone with the right role in the tenant can be granted access to the workspace; the workspace just makes the scoping explicit. If you need hard isolation between two pieces of work, consider whether they actually belong in different tenants.
Tenant slugs and subdomains
Section titled “Tenant slugs and subdomains”Each tenant has a slug — a short identifier used in URLs and tenant-pickers. Slugs follow these rules:
- 3–63 characters
- Lowercase alphanumeric + hyphens
- No leading or trailing hyphens
- No consecutive hyphens
- Not entirely numeric
- Not on Verin’s reserved-subdomain list (system subdomains, regulator names, framework names, etc.)
When per-tenant white-label subdomains are enabled (a planned enhancement), tenant slugs become subdomain prefixes (e.g. acme.verin.app).
What’s next
Section titled “What’s next”- Users, roles, and permissions — who can do what within a tenant
- Audit log — how tenant-scoped actions are recorded