Skip to Content
DaaS StudioHost and Tenants

Host and Tenants

On the Buildpad Engine backend, one Engine serves many separate workspaces:

  • The host is the platform operator’s own workspace. It holds the operator’s own users, roles, policies and settings, and the list of tenants.
  • A tenant is a project on the platform. Every first-level item on the Scope Items tab is a tenant. Each tenant has its own data model, content, users, roles, files and settings, kept apart from every other tenant.

What makes an item a tenant is its place in the tree, not the name of its scope type. Every item of a type with no parent type is a tenant, whether you call that type Tenant, Organization, Client or anything else. Items below the first level, such as departments and teams, are not tenants: they filter records inside their tenant. See Scopes.

A host administrator is an administrator signed in to the host. On a self-hosted Engine, the account created at setup is one. The Switch Scope dialog shows which workspace you are in: the host is listed last, as Host.

Being an administrator of the host gives you nothing inside a tenant. The host runs the platform. Each tenant decides who works in it, and with what role.

What a host administrator can do

Create tenants

On the Scope Items tab, click Add Item and pick a first-level scope type. A first-level item creates a tenant, so the dialog also asks for a First administrator email. Name an existing user: they become the tenant’s first administrator. A person who has never signed in to the host gets the tenant as an invitation, and administers it once they enter it.

The first administrator then signs in to the tenant and sets it up: its collections, roles, users, and the departments or teams beneath it.

Use tenants as templates

A tenant that is set up the way you want can be the starting point for new ones.

  • Mark as template, from a tenant’s row menu, makes the tenant a template. The row shows a Template badge. Unmark as template stops new tenants being created from it. Tenants already created from it stay as they are.
  • When you add a first-level item, choose a template in Template. The new tenant gets a copy of the template’s collections, roles and permissions, its own scope types, workflows and automation. Copied cron jobs arrive paused.
  • Tick Also copy scope items to re-create the template’s departments, teams and other items under the new tenant, with the role grants at them.
  • A template’s data and its people are never copied.

Marking and unmarking are recorded in the template tenant’s activity log, where its administrators can see them.

Suspend, resume and delete tenants

A host administrator can take a tenant out of service and bring it back, or delete it for good. See Suspend, resume and delete a tenant.

Manage the whole scope tree

A host administrator can change any part of the scope tree, including each tenant’s first-level item. A tenant’s own administrators can change only the items beneath their tenant.

Change platform-wide settings

Some settings belong to the whole Engine, not to one tenant. The cross-origin rules, which decide which websites may call the API, are changed only in the host. See Settings and CORS.

Bring users in from another project

When you move a project to the Engine, a host administrator imports its users into the new tenant. They keep their passwords and authenticator apps. See Move to the Buildpad Engine.

See the Engine’s health and logs

A host administrator sees the Engine’s full health report: its version, and the state of its database, cache and file storage. Everyone else sees only whether the Engine is up.

The Logs page shows the whole Engine’s logs, which belong to no tenant. Host administrators can open it, and so can anyone given the system:logs module access key, in any workspace. See Logs.

Work in the host itself

Inside the host, a host administrator is a normal administrator: they manage the host’s own users, roles, policies, collections, files and settings, as described in the rest of this section.

What stays inside each tenant

A tenant’s data

A host administrator cannot open a tenant’s content, users or settings just because they run the platform. In the Switch Scope dialog, a tenant you are not a member of is shown greyed out, with the note Host administrators are not members of this tenant. Add yourself as a member to enter.

To work in a tenant, you need a place in it, in one of two ways:

  • You were named as its first administrator when it was created.
  • One of the tenant’s administrators adds you as a user, with a role. See Users.

Once you are a member, switch to the tenant in the Switch Scope dialog. Inside it, you have only the role the tenant gave you.

A tenant’s own settings

Some settings belong to a tenant alone, such as signing its people in with accounts from another service. Only that tenant’s administrators manage them. A host administrator is refused, even though they are an administrator of the host.

Summary

Host administratorTenant administrator
Create, suspend, resume and delete tenantsYesNo
Mark tenants as templates, create tenants from themYesNo
Change the whole scope treeYesOnly beneath their tenant
Change platform-wide settings such as CORSYesNo
See the Engine’s full health reportYesNo
Work with a tenant’s content, users and settingsOnly as a member, with the tenant’s roleYes, in their tenant
Manage a tenant’s own settingsNoYes, in their tenant

On the Supabase backend there is no host and there are no tenants: the project is one workspace, and every scope is a filter inside it. See Scopes.