# Admin console

> Use the DDL admin console to manage accounts, roles, role assignments and sending connections, and find division settings in Organization settings.

Source: https://dev.delman-guide.pages.dev/admin

The admin console manages user accounts, roles, role assignments and the connections that Distribution sends through. Administrators open it by its address. Divisions are now managed in **Settings › Organization settings › Divisions**.

:::note[Availability]
- Only administrators can use the admin console: see [Who is an administrator](/admin#who-is-an-administrator). Other standard accounts find only **Back To Home** there; dashboard viewers return to **Dashboards**.
- Creating or deleting accounts is for superadmins. The superadmin-only **Divisions settings** tile redirects to `/settings/divisions`.
- Divisions, teams, roles and accounts are easier to manage in **Settings › Organization settings**: see [Teams and roles](/teams-roles). Superadmins manage [dashboard viewer accounts](/dashboard-viewers) there too.
:::

## Who is an administrator

Administrators differ by division and role ([How DDL organises people](/teams-roles#how-ddl-organises-people)):

| Who | How someone becomes one | What they can do |
|---|---|---|
| **Superadmin** | The **superadmin** role in the **superadmins** division. The built-in administrator account is the first one. | Everything on this page, **Settings › Organization settings** including divisions and dashboard viewer accounts, the AI settings that apply to everyone and the Distribution settings. |
| Other people of the superadmins division | Any other role in a team of the superadmins division. | Root access across divisions, the admin console without the superadmin-only account actions and Divisions tile, the AI settings that apply to everyone and the Distribution settings. They do not see **Organization settings**. |
| **Division admin** | The **superadmin** role in another division. DDL creates one such account with every division. | The admin console for their own division and **AI Ops** for its people, but not division management, dashboard viewer management, or creating and deleting accounts. The administrator account is deleted if its division is deleted. |

Other standard accounts have no administration pages. Dashboard viewers have no administrator rights, even through a role, ownership or root membership: only their explicit read-only [Dashboard access grants](/dashboard-viewers#choose-what-it-can-open) apply. Division administrators have no extra dashboard rights from their role.

:::caution[Root access spans every division]
Accounts in the **superadmins** division show a **Root** badge and get root access to every division. **Edit User** shows the same warning. Add people to these teams only if they may administer DDL. See [The superadmins division](/teams-roles#the-superadmins-division).
:::

## Open the admin console

1. Add `/settings-admin` to the address of your DDL, for example `https://ddl.example.com/settings-admin`, and open it.
2. Click **Admin Settings**.

   The console opens at `/settings-admin/admin`. Without administrator access, the page shows only **Back To Home**.

3. Click a tile. The pages of the console have no menu: use the Back button of your browser to return to the tiles.

> Screenshot: The admin console with five tiles: User roles, Component access, Roles setting, Manage Users and Divisions settings. The admin console of a superadmin. Divisions settings opens Divisions in Settings.

| Tile | Address | What it is for |
|---|---|---|
| **Manage Users** | `/settings-admin/admin/users` | Find accounts. Superadmins also create and delete them. |
| **Roles setting** | `/settings-admin/admin/roles` | Create, rename and delete the roles of your own team. |
| **User roles** | `/settings-admin/admin/user_roles` | See a person's roles, give them a role of your team, or take a role away. |
| **Divisions settings** | `/settings-admin/admin/divisions` → `/settings/divisions` | Opens Divisions in Settings. Superadmins only. |
| **Component access** | `/settings-admin/admin/component_access` | Per-connection or table grants; see the limitations under [Component access](#component-access). |

The other pages under `/settings-admin` belong to Distribution: see [E-mail and other connections](/admin#e-mail-and-other-connections) and [Other administrator settings](/admin#other-administrator-settings).

## Manage Users

**Manage Users** opens **User Setting**, the list of accounts, up to 100: every account of the DDL when you are in the superadmins division, the accounts of your own division otherwise. Type in **Find user by name:** to filter the list as you type. Superadmins also see **Select user division:**, **Create new user** and a ⋮ menu on each account.

> Screenshot: The User Setting page with the Create new user button, the Find user by name box, the Select user division list and the list of demo accounts with their ⋮ menus. Manage Users. Create new user and the ⋮ menus are for superadmins.

### Create an account

1. Click **Create new user**.
2. In **Create User**, fill in **Username:**, **Email:** and **Password:**.
3. Click **Add**.

The password needs at least 8 characters, uppercase and lowercase letters, a digit and a symbol. DDL refuses the server's default password with *Choose a password other than the server's default*. The account is verified at once and starts like a standard account added under **Organization settings › Users**: see [Add a user](/teams-roles#add-a-user). To create a dashboard viewer, use [Create a viewer account](/dashboard-viewers#create-a-viewer-account).

### Delete an account

1. Open the ⋮ menu of the account and click **Delete**.
2. DDL asks *Are you sure you want to delete … ?*. Click **Delete**.

:::danger[Deleting an account cannot be undone]
DDL also deletes what the account owns, including projects, dashboards, charts and datasets in the Data Repository. Accounts with the **superadmin** role cannot be deleted here: *Can't delete superadmin user*. Deleting a division removes its administrator account through [Delete a division](/teams-roles#delete-a-division).
:::

After the deletion, dialogs can stay open on the page. Close them with **Cancel**: the deletion is already done.

## Roles setting

**Roles setting** opens **Role Setting**, the roles of the team you belong to. For a superadmin, that is the **superadmin** team; for a division admin, the superadmin team of their division. To manage the roles of other teams, use [Teams & Roles](/teams-roles#manage-the-roles-of-a-team).

- **Create new role** opens **Create Role**. Type the **Role Name:** and click **Add**.
- **Find role by name:** filters the list.
- ⋮ › **Manage** opens the same dialog with the name of the role. Change it and click **Add** to rename the role.
- ⋮ › **Delete** asks *Are you sure you want to delete … ?*. Click **Delete**, then close any dialog that stays open with **Cancel**.

The rules of Teams & Roles apply: some names are reserved, and the built-in roles cannot be renamed or deleted. The members of a deleted role normally move to the **member** role of the team, which the superadmin teams do not have: take a role away from its members in [User roles](/admin#user-roles) before you delete it.

## User roles

**User roles** opens **User Roles**, where you look up one person and change their roles. It is the only place to take a role away from someone.

:::caution[Repeated request timeouts]
Looking up a username can repeatedly show *Request timeout, please try again* before its roles load in this version. Avoid submitting changes while that happens. To add a member, use [Add people to a role](/teams-roles#add-people-to-a-role) instead.
:::

> Screenshot: The User Roles page with Sam Operator in Username and Operators in the table, alongside repeated Request timeout, please try again notifications. The role table eventually loads, but repeated request timeouts remain visible. No role change was submitted.

1. In **Username:**, start typing the person's username and pick it from the suggestions.

   The table lists the person's roles, in every team.

2. To give the person a role, click **Assign user to new role**. In **Roles:**, pick one of the roles of your own team and click **Add**.
3. To take a role away, open the ⋮ menu of the role and click **Delete**. Confirm *Delete this Access Setting* with **Delete**.

- The suggestions hold the people of your division and the Free accounts.
- The **superadmin** role cannot be taken away: *Can't remove this role*.
- A standard account that loses its last role gets the Free plan in **superadmins**, or a placeholder role in another division. A viewer's roles do not affect its dashboard grants.
- The change applies the next time the person signs in.

## Divisions settings

The superadmin-only **Divisions settings** tile redirects to **Settings › Organization settings › Divisions** at `/settings/divisions`. See [Manage divisions](/teams-roles#manage-divisions) for the list, administrator passwords and deletion.

### Set up a division

Use **New division** in Settings. See [Create a division](/teams-roles#create-a-division) for setup and the administrator's password.

## Component access

:::caution[Component selection may stay unavailable]
**Component access** offers per-connection or table grants, but **Component name** may remain disabled after you choose **sources** or **tables** in this version. If you cannot select a component, you cannot list or save its grants here. Share projects or datasets instead: see [Share a project](/projects#share-a-project) and [Share a dataset](/data-repository#share-a-dataset).
:::

## E-mail and other connections

:::note[Availability]
- The **Connections** page belongs to [Distribution](/distribution) and works only when Distribution is turned on. Otherwise it says *Distribution is not enabled*.
- Superadmins add and change connections. Other people who open the page see the list and *Only administrators can add or change connections.*
:::

Distribution sends its e-mails, chat messages and files through connections. Open them from the account menu › **Distribution** › **Settings** › **Connections (email, chat, files)**, or at `/settings-admin/smtp`.

> Screenshot: The Connections page with the + New connection button and a table with the e-mail server Demo mail server: smtp.example.com:587 with STARTTLS, the sender DDL Reports with reports@example.com, the limits 60/min and 1000/run, the status Working, and the buttons Test connection, Send test email to me, Edit and Delete. Connections: every channel Distribution can send through, with the result of its last test.

The table shows each connection's **Name** and type, its **Details** (server and port, or a summary), the **Sender**, the **Limits** (e-mails per minute and per run) and the **Status**: **Not tested**, **Working** or **Failed**, with when it was tested. Hover over a status for the date or the error.

### Add an e-mail server

At least one e-mail server is needed before anyone can send a distribution.

1. Click **+ New connection**.

   **New connection** offers the types in three groups: **Email** (*Sends the emails.*), **Chat** and **Files & webhook**.

2. Click **Email (SMTP)**.
3. Fill in **Add email server**, as in the table below, and click **Save**.

   Until the form is complete, *Still needed:* at the bottom says what is missing. DDL answers *Email server "…" saved*.

4. In the server's row, click **Test connection**. DDL answers *"…" works*, or shows the error.
5. Click **Send test email to me**. Type your own address in **Send to** if it is empty, click **Send test** and check your inbox.

> Screenshot: The New connection dialog with three groups: Email with Email (SMTP) and Email (Amazon SES API), Chat with Slack, Microsoft Teams, Telegram and WhatsApp Business (Cloud API), and Files & webhook with Webhook (HTTP POST), SFTP, Amazon S3 / MinIO and Google Drive. New connection: choose the type first. Email (SMTP) opens the e-mail server form.

| Field | What to enter |
|---|---|
| **Name** | A name people recognise when they choose the server, up to 120 characters. Required. |
| **Server address (SMTP host)** | The SMTP server of your e-mail provider, for example `smtp.example.com`. Required. |
| **Port** | 587 by default. |
| **Security** | **STARTTLS (usually port 587)** (the default), **SSL/TLS (usually port 465)** or **None (usually port 25)**. Changing it also sets **Port** to the usual port, unless you typed another one. |
| **Username** and **Password** | The login for the server, if it needs one. |
| **Sender email** | The From address, for example `reports@example.com`. Required. |
| **Sender name** | The name recipients see, for example *DDL Reports*. |
| **DKIM selector (optional)** | From your e-mail provider. **Check sender domain** uses it to find the DKIM record. |
| **Reply-to (optional)** | Where replies go, if not to the sender. |
| **Max emails per minute** and **Max emails per run** | Sending limits: 60 per minute and 1000 per run by default. |

> Screenshot: The Add email server dialog filled in with Backup mail server, smtp.example.com, port 587, STARTTLS, the sender reports@example.com and DDL Reports, and the limits 60 and 1000, with the Cancel and Save buttons. Add email server: the name, the server address and the sender e-mail are required.

Passwords and tokens are stored encrypted and never shown again. When you edit a server, leave **Password** empty to keep the saved one. If you change the server address or the username, type the password again: DDL never sends a saved password to a different server.

### Check the sender domain

**Check sender domain**, below the status of an SMTP server, looks up the DNS records that e-mail providers check for the domain of the sender address: **SPF**, **DKIM** and **DMARC**, each **Found** or **Missing**. When a record is missing, e-mails are more likely to land in spam. Ask whoever manages your domain to add it, then click **Check again**.

### Chat apps, file drops and Amazon SES

The other types open a form with the fields of that service, such as the **Incoming webhook URL** of Slack, the **Bot token** of Telegram, the **Bucket** of Amazon S3 or the **Target folder ID** of Google Drive. Fill them in and click **Save**. **Test connection** is available for every type, **Send test email to me** for the e-mail types. People who are not administrators see the names of chat and file connections, but not where they point.

### Edit or delete a connection

- **Edit** opens the form of the connection again. Its type cannot be changed: add a new connection instead.
- **Delete** asks *Delete email server?* and warns that distributions cannot send with it anymore. A connection that a distribution still uses is not deleted: the error ends with *(it is still used by a distribution)*.

## Other administrator settings

| Setting | Where | Read more |
|---|---|---|
| Divisions, teams, roles and user accounts | **Settings › Organization settings** | [Teams and roles](/teams-roles) |
| Viewer account type and read-only dashboard grants | **Settings › Organization settings › Users › Dashboard access** | [Dashboard viewer accounts](/dashboard-viewers) |
| Who may create AI tokens, up to which access level and for how long | **Settings › AI › MCP Integration** | [MCP integration](/ai-mcp) |
| The AI engine, its models, the data policy and limits, AI use and cost | **Settings › AI › AI Agent** and **AI Ops** | [AI settings and data policy](/ai-settings) |
| AI summaries in distribution e-mails | **Distribution › Settings › AI summary**, `/settings-admin/distribution-ai` | [Distribution](/distribution#settings-for-administrators) |
| Sending rules and approvals | **Distribution › Settings › Sending rules (approval)**, `/settings-admin/distribution-approval` | [Distribution](/distribution#settings-for-administrators) |
| Addresses that are never e-mailed | **Distribution › Settings › Do-not-email list**, `/settings-admin/distribution-suppressions` | [Distribution](/distribution#settings-for-administrators) |

## Troubleshooting

| What you see | Why | What to do |
|---|---|---|
| `/settings-admin` shows only **Back To Home** | You are not an administrator. | Ask a superadmin. |
| No **Divisions settings** tile, no **Create new user** | They are for superadmins. | Ask a superadmin. |
| *Can't delete superadmin user* | Accounts with the superadmin role cannot be deleted. | Nothing to fix. |
| *Fail to delete user* | DDL could not delete the account. | Ask the people who run your DDL server. |
| *Can't remove this role* | The superadmin role cannot be taken away. | Nothing to fix. |
| A person is missing from the **Username:** suggestions of User roles | The page loads only the first 25 accounts, in alphabetical order. | Add roles in [Teams & Roles](/teams-roles#add-people-to-a-role) instead. |
| Deleting a role in Roles setting fails | Its members have no **member** role to move to. | Take the role away from its members in User roles, then delete it. |
| Dialogs stay open after a deletion in Manage Users or Roles setting | The page does not close them. | Close them with **Cancel**. The deletion is already done. |
| A role change has no effect | Roles are read when a person signs in. | Ask the person to sign out and sign in again. |
| *Only administrators can add or change connections.* | Superadmins manage connections. | Ask a superadmin. |
| A connection shows **Failed** | The server, port, security or login is wrong. Hover over **Failed** for the error. | Correct it with **Edit**, for example port 587 with STARTTLS or 465 with SSL/TLS. |
| Deleting a connection fails with *(it is still used by a distribution)* | A distribution sends with it. | Choose another server in that distribution first. |
| **Component name** stays disabled in **Component access** | Component selection may remain unavailable in this version. | Share projects or datasets instead, and ask your administrator to investigate. |

## Related pages

  - [Teams and roles](/teams-roles): Organization settings: divisions, teams, roles and user accounts.
  - [Dashboard viewer accounts](/dashboard-viewers): Superadmin-only viewer accounts and read-only dashboard grants.
  - [Distribution](/distribution): Scheduled e-mails and reports, and their settings for administrators.
  - [AI settings and data policy](/ai-settings): The AI engine, the data policy and AI Ops.
  - [Account settings](/settings): Usage, password and appearance of your own account.
