Sub-organizations and Login-as
Part of the "Tenant administration" group. This section is for admins who manage multiple sub-organizations or many users (reseller/tenant-admin capability). If you only use one domain, you can skip this whole group.
The Orgs tab (on the /users page) lets you view your organization tree and create sub-organizations under it. It also provides Login-as (impersonation), which lets you temporarily act as a sub-organization to work on its behalf.
Use it when: you are a reseller or partner who needs to separate customers into their own organizations (each with its own domains, users, and reports), or you need to step into a sub-organization directly to support it. Example: you manage 5 customers — create 5 sub-organizations under your organization, each with its own admin and domains.
Scope: you can only work within your organization tree (your organization plus every sub-organization below it). You cannot go outside your subtree.
Before you start
- An
org_adminaccount. - Your organization is allowed to have sub-organizations (allowed by default).
How to configure
A. Create a sub-organization:
- Go to Users → Orgs tab.
- Click New org. Enter a Name (and optionally a Description). Leave Parent set to your organization by default (or choose an existing sub-organization in your subtree).
- Click Save. The sub-organization is created with default settings (see Fields: create a sub-organization).
B. Login-as (enter a sub-organization):
- In the Orgs tab, find the sub-organization you want to enter → click the Login as button on that row.
- The portal switches context to that sub-organization, and a banner appears at the top to show that you are impersonating it.
- Work on behalf of the sub-organization (view domains, reports, configuration, and so on).
- Click Exit (exit impersonation) in the banner to return to your own account.
Fields: create a sub-organization
| Field | Meaning | Values | Default | Notes |
|---|---|---|---|---|
| Name | Sub-organization name | Not empty, unique | — | Duplicate name/slug → 409; the slug is generated from the name |
| Description | Description | String | "" | — |
| Parent | Parent organization | An organization in your subtree | Your organization | Must exist and be enabled; cannot be reparented (see below) |
| Enabled (when editing) | Enable or disable the organization | On/off | On | Disabling an organization blocks its users from logging in. This switch is not shown to org_admin; contact your provider to disable an organization |
Sub-organization entitlements use fixed defaults. You cannot set them; values entered for them are replaced with the defaults. To change them, contact your provider.
| Setting | Default on create |
|---|---|
| Max domains | 100 |
| WAF enabled | false (your provider can enable it per sub-organization) |
| Max WAF domains | 10 |
| Request logs / Error logs | false |
Not available to org_admin: deleting an organization, changing the parent organization (reparenting), raising the entitlements above, and managing organizations outside your subtree. Trying to change these fields → 403. When you need these, contact your provider.
Login-as scope and limits
- You can only log in as a sub-organization (descendant) in your subtree.
- You cannot log in as your own organization — only as a sub-organization (trying → 400). A disabled sub-organization → 403 ("target organization is disabled").
- You cannot go outside your subtree; targeting an organization outside it → 403 ("target org is not a descendant").
- No nested impersonation: clicking Login as again while already impersonating → 403 ("exit current impersonation first"). Exit first, then enter another organization.
- While impersonating, you have the
org_adminpermissions of that sub-organization. org_user/viewerdo not have Login-as permission.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| 409 when creating an organization | Duplicate name/slug | Rename the sub-organization |
| 403 "target org is not a descendant" | Login-as outside your subtree | Only log in as your own sub-organizations |
| 403 "exit current impersonation first" | Already impersonating and tried Login as again | Click Exit in the banner and try again |
| 403 when changing Max domains/WAF/logs of a sub-organization | These entitlements are set by your provider | Contact your provider |
| Clicking Delete this organization → 403 | org_admin cannot delete organizations | Contact your provider (the organization must have no users and no domains before it can be deleted) |
| Buttons or actions missing while impersonating | Impersonating → permissions drop to org_admin | Exit impersonation to get your own permissions back |
FAQ
- Do sub-organizations inherit domains or WAF from the parent? Each organization has its own domains and users; some purge/warm quotas are inherited down the tree (see the Quota article). WAF and log entitlements are set by the provider.
- Does Login-as leave a trail? Yes — the system records impersonation sessions, and every action can still be traced back to you.
- How many sub-organizations can I create? It depends on your organization tree; if you need a higher limit, contact your provider.
- Why can't I delete a sub-organization? Deleting an organization is done by your provider, and the organization must be empty (0 users, 0 domains). Remove its users and domains, then ask your provider to delete it.