# Users, groups and rights

> Roles, the rights of groups, adding users and giving a team access to tenants.

URL: https://docs.racktrace.io/administration/users-and-groups

What someone may do in RackTrace is the sum of their role and the groups they are in.

## Roles and rights

| Role | Can do |
|---|---|
| Viewer | Read, export and print in the tenants ticked on the user. |
| Editor | All rights in the tenants ticked on the user, except Credentials. |
| Administrator | Everything in all tenants, plus users, groups, login & security, [API tokens](https://docs.racktrace.io/integrations/api), integrations, tenants, global templates and import. |

**Groups** add access on top of the role. Being in a group always gives read access to its tenants; the group's rights decide what members may change:

| Right | Covers |
|---|---|
| Documentation | Sites, floors, rooms, racks, devices and ports, and their links to [Hudu or IT Glue](https://docs.racktrace.io/integrations/hudu-it-glue) |
| Cabling | Cables, trunks and connections |
| Network plan | VLANs, port profiles, networks, routes, WAN / VPN, WiFi, firewall, port forwards and reservations |
| Domotz | Sync, link, import and ignore Domotz devices |
| Device templates | Templates of the tenant in the device library |
| Credentials | Set, change and delete the credentials the scanner logs in to devices with (see [Network monitoring](https://docs.racktrace.io/network/monitoring#credentials)); nobody sees their values. Not part of the editor role: give it through a group |
| Export | CSV and JSON exports, the printable report and — for editors and administrators, never viewers — [share links](https://docs.racktrace.io/features/share-links) |
| Tickets | Create tickets in the ticket system (see [Ticket systems](https://docs.racktrace.io/integrations/ticket-systems)) |

A user can do the sum of their role on the tenants ticked directly and the rights of all their groups. The server checks every change, and the screens hide what you cannot do.

Scripts and other systems do not need an account: give them an [API token](https://docs.racktrace.io/integrations/api) — read only or read & write, on all tenants, some tenants or those of a group.

## Users

1. Open **Administration → Users** and click **New user**.
2. Fill in the **E-mail address** (the user signs in with it) and **Display name**.
3. Choose the **Role**: **Administrator**, **Editor** or **Viewer**.
4. Under **Account**, leave **Send an invitation by e-mail** chosen. Or choose **Set a password myself**, fill in a **Password** and leave **User must choose a new password at the next sign-in** ticked.
5. Tick the **Groups** and/or the **Tenants** the user gets directly.
6. Click **Save**.

With an invitation the user gets an e-mail that explains what RackTrace is, their role and access, how to create their account and what is expected of them; replies to it reach you. With the link in it (it works once, for 7 days) they choose their own password, or sign in with Microsoft, and set up two-step verification when you require it. See [Creating your account from an invitation](https://docs.racktrace.io/signing-in#invitation).

- Until then the user is **invited** in the list. **Send the invitation again** (the envelope) sends a new link, also when the first one expired (**invitation expired**); the link sent before stops working.
- Setting a password with Edit ends the invitation: give them the password yourself. A new e-mail address sends the invitation to that address.
- After their first sign-in every new user gets a second e-mail: how RackTrace works, in two minutes, with links to these docs.

With a password you give it to the user yourself; they sign in with their e-mail address. On RackTrace on your own server, without e-mail, that is the only way.

![The Users page](https://docs.racktrace.io/assets/screens/users.webp "Administration → Users: accounts, roles, access and two-step verification.")

Per user:

- Edit changes the e-mail address they sign in with (at once: an address you enter counts as checked), the role, groups and tenants, or sets a new password (this signs the user out everywhere). Untick **Account active** to block someone without deleting them.
- An **old username** badge means the account still has a username from before. The user is asked for their e-mail address at the next sign-in, or you enter it with Edit. An address a user entered themselves and has not confirmed yet is shown under their name, with *to confirm*.
- The eye icon shows the effective access per tenant.
- **Reset two-step verification** removes the app, the passkeys and the recovery codes when someone lost their phone or device; they set it up again at the next sign-in.
- **Sign out everywhere** ends all their sessions.
- Delete removes the user; their history stays.
- The RackTrace support account is not in the list. You find it under [Support access](https://docs.racktrace.io/administration/login-and-security#support-access).
- Users linked to a Microsoft account carry a **Microsoft** badge. **Unlink from the Microsoft account** ends their Microsoft sessions; the next Microsoft sign-in with that e-mail address links the account again. Use it when the address now belongs to someone else.

With [Sign in with Microsoft](https://docs.racktrace.io/administration/microsoft-sign-in#microsoft-sign-in), the e-mail address must be the person's Microsoft sign-in name, usually their work e-mail address (e.g. `jan@company.com`).

There must always be at least one active administrator.

## Groups

Groups give a team access to tenants, with rights per part. Examples: *Engineers* (all tenants, all rights), *Servicedesk* (all tenants, read + export), *Customer St. Paul* (only that tenant, read only).

![The Groups page](https://docs.racktrace.io/assets/screens/groups.webp "Administration → Groups: teams with access to tenants and rights per part.")

1. Open **Administration → Groups** and click **New group**.
2. Fill in a **Name** and **Description**.
3. Tick the **Rights**. Without any right ticked, the group gives read-only access.
4. Tick **All tenants — including tenants added later**, or choose the **Tenants**.
5. Tick the **Members** (administrators don't need groups) and click **Save**.
