LIMITLESS

Managing Tenants (Organizations)

Admin

PATHS supports multi-tenancy for B2B clients. Each tenant represents an organization — such as a hospital, hotel chain, or corporate wellness program — whose members access content scoped to that organization.

How Multi-Tenancy Works

Multi-tenancy is powered by the @payloadcms/plugin-multi-tenant plugin. Key concepts:

  • Every user belongs to a tenant (organization).
  • Content collections (articles, courses, modules, lessons) are scoped to tenants.
  • Users only see content that belongs to their tenant, unless they have cross-tenant access.
  • A default tenant is created during the foundation seed for individual (B2C) users.

Default tenant

All self-registered users and manually created individual users should be assigned to the default tenant. Create dedicated tenants only for B2B organizations.

Creating a New Tenant

Tenants collection list showing organizations
The Tenants list — each row represents an organization with its own content scope.
Navigate to Tenants in the sidebar and click Create New.
Enter the organization name (e.g., "Acme Hospital Group").
Set the slug (e.g., acme-hospital-group). This is used internally for scoping.
Configure the access level to determine what content tier the organization's members can access.
Click Save.

Assigning Users to a Tenant

To add a user to an organization:

  1. Open the user's record in the Users collection.
  2. Select the appropriate tenant from the tenant dropdown.
  3. Save the user record.

The user will now see content scoped to that tenant when they log in.

Content Scoping

Tenant edit form with name, slug, and access level fields
Configure each tenant's name, slug, and organization-wide access level.

When creating articles or courses for a specific organization, you must set the tenant field on the content record. This ensures:

  • Only members of that tenant can view the content.
  • The content appears in tenant-scoped searches and listings.
  • RAG retrieval respects tenant boundaries.

Tenant field is required

The multi-tenant plugin makes the tenant field required on all scoped collections. If you create an article or course without setting a tenant, the save will fail. Always select a tenant when creating content.

Access Level Resolution

How access levels are resolved

A user's effective access level is the highest of:

  • Their personal membership tier's access level.
  • Their organization's (tenant's) access level.

This "highest wins" model means an Enterprise-tier organization member always gets full access, regardless of their personal tier.

B2B Certification Configuration

Each tenant can be configured for compliance tracking. Edit a tenant to set:

FieldDescription
certificationEnabledEnable certificate tracking for this organization
certificationExpiryMonths before certificates expire (e.g., 12 = annual recertification)
organizationNameName displayed on staff certificates
organizationLogoLogo displayed on certificates (upload via Media collection)

When certification is enabled, tenant managers can access the Compliance Dashboard at /account/team to monitor staff progress.

Next Steps

Was this page helpful?