Multi-Tenant Membership
Users in MeetLoyd exist outside of any single tenant. They connect to tenants through memberships -- a model familiar from Slack, GitHub, and Notion. One user can belong to multiple organizations, each with its own role, data, and settings.
How Memberships Work
A membership is a link between a user and a tenant. Each membership record contains:
| Field | Description |
|---|---|
| User ID | The user's global identity |
| Tenant ID | The tenant (organization) they belong to |
| Role | Their role within that tenant |
| Is Default | Whether this is their primary workspace |
A single user can have as many memberships as needed. Each membership is independent -- being an owner in one tenant does not grant any access in another.
Roles Per Tenant
Each membership carries its own role. The same person can hold different roles in different tenants (e.g., owner of their own company, admin at a client, member at a partner).
| Role | Description |
|---|---|
| Owner | Full access including billing and tenant management |
| Admin | Full access except billing and tenant deletion |
| AI Engineer | Technical focus: agents, tools, workflows |
| Member | Standard access for daily operations |
| Viewer | Read-only access |
Roles are assigned per membership. Changing your role in one tenant has no effect on your role in another. The same goes for custom roles and permission exceptions: they belong to one organisation only — see Authentication.
Login Flow
Single membership: If a user belongs to only one tenant, login proceeds directly into that workspace. No extra step is required.
Multiple memberships: If a user belongs to multiple tenants, the dashboard displays a tenant picker so the user can choose which workspace to enter. The default membership is pre-selected for convenience.
Tenant Switching
Users with multiple memberships can switch between tenants without logging out. In the dashboard, tenant switching is available from the user dropdown menu in the top-right corner. The menu lists all tenants the user belongs to, with the active tenant highlighted. Clicking another tenant triggers the switch and reloads the workspace context.
Switching gives you a fresh session scoped to the selected tenant.
Invite Flow
When a user is invited to a new tenant:
- The tenant admin sends an invite (email or link)
- If the user already has a MeetLoyd account, accepting the invite creates a new membership linking them to the inviting tenant
- If the user is new, they create an account first, then the membership is created
- Existing memberships are never modified or overwritten -- the new membership is additive
Invitations expire after 7 days.
Data Isolation
Every session is scoped to a single organisation, and everything it reads or writes is scoped to that organisation. There is no way for a single request to reach data across organisations.
- Switching organisations gives you a new session scoped to the new one
- Agents, teams, apps, conversations, files, and all other resources are isolated per tenant
- Audit logs record which tenant context was active for every action
- Even users with memberships in multiple tenants cannot query across boundaries
Member Management
Admins and owners manage membership in Control → Access → People (/app/admin/access/people):
- Invite members by email (several at once) with a chosen role, and optionally custom roles
- Change roles for existing members via the role dropdown
- Remove members to immediately revoke all access to that tenant's data
- View pending invitations — resend them, copy the invitation link, or revoke them before acceptance
Ownership Transfer
The last owner of a tenant cannot be removed or downgraded. To transfer ownership:
- Promote another member to owner
- Then downgrade yourself or leave
Membership Audit Log
Every membership change is recorded:
| Action | Description |
|---|---|
| Joined | User accepted an invitation |
| Left | User voluntarily left the tenant |
| Removed | Admin removed a member |
| Role Changed | Member role was updated |
| Switched | User switched active tenant |
| Invited | Admin sent an invitation |
The membership log is available through the API.
- Set a default tenant for quick login -- the default membership is pre-selected in the tenant picker
- Use descriptive tenant names to avoid confusion when switching (e.g., "Acme Corp - Production" instead of "Workspace 2")
- Parent company admins should be viewer or admin in subsidiary tenants -- reserve the owner role for people who manage billing and settings for that specific organization
- Revoke memberships promptly when users leave an organization
- Audit membership changes regularly using the audit log
- Use invitations instead of direct membership creation for a proper audit trail