> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tracebloc.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Organisations

> Create an organisation, invite people, give them roles, read its audit log, and leave, hand over or archive an organisation.

An organisation is an account people work in together. Its members create use cases, invite peers to them, and see the organisation's members and datasets. Each member's secure environment and data stay their own.

## Create an organisation

Anyone can create an organisation:

1. Open the **account menu** from your name at the foot of the dashboard's sidebar.
2. Choose **Create organisation**.
3. Give the organisation a name.

You become its **organisation owner**. Then [invite people](#invite-people) to join it.

## Organisation settings

While you work in an organisation, the account menu opens **Organisation settings**. Its tabs:

* **Overview**: the organisation at a glance.
* **Members**: its members, their roles and its open invitations.
* **Secure environments** and **Datasets**: see [Datasets and secure environments](https://docs.tracebloc.io/accounts/datasets-and-environments.md).
* **Use cases**: the organisation's use cases. Organisation members see the names of the ones they can already open. The organisation owner and organisation admins see every one, drafts and archived ones too, and who created each.
* **Compute**: the compute used. Organisation members see their own; the organisation owner and organisation admins see each member's.
* **Audit log**: what was done in the organisation. See [Audit log](#audit-log).
* **Settings**: the organisation's name, **Leave organisation**, and for the organisation owner **Hand over** and **Archive organisation**.

What you see and can do there depends on your role.

## Roles

A role is your place in one organisation, never yours everywhere: you can be the organisation owner of one organisation and an organisation member of another.

| | Organisation owner | Organisation admin | Organisation member |
| - | - | - | - |
| Create use cases and invite peers to them | Yes | Yes | Yes |
| See the organisation's members and datasets | Yes | Yes | Yes |
| Invite and remove organisation members, withdraw invitations | Yes | Yes | No |
| Invite, make and remove organisation admins | Yes | No | No |
| Take a dataset out of the organisation | Yes | Yes | No |
| Take a secure environment out of the organisation | Yes | Yes | Only one they manage |
| Put a secure environment back | Yes | Yes | No |
| Read the audit log | Yes | Yes | No |
| Rename the organisation | Yes | No | No |
| Hand over the organisation | Yes | No | No |
| Archive the organisation | Yes | No | No |
| Leave the organisation | After handing over | Yes | Yes |

Every organisation has exactly one organisation owner. The organisation owner and the organisation admins are organisation members too. In the member list, the roles show as **Owner**, **Admin** and **Member**.

No role gives anyone a say over another member's secure environment or data. Only the person who manages a secure environment deletes data in it. See [Datasets and secure environments](https://docs.tracebloc.io/accounts/datasets-and-environments.md).

## Invite people

The organisation owner and organisation admins invite people by email address, of any domain, from **Members** in **Organisation settings**: choose **Invite**.

* An organisation admin invites people as organisation members.
* The organisation owner invites people as organisation members or as organisation admins.
* Nobody is invited as organisation owner: the organisation owner [hands over](#hand-over-the-organisation) instead.

The invitation is an email with an **Accept the invitation** button. It lasts 7 days. Until it's accepted, the organisation owner or an organisation admin can **Withdraw** it from **Members**.

An invitation to a use case never adds anyone to an organisation, and an organisation invitation never adds anyone to a use case.

### Accept an invitation

An invitation is for the address it was sent to, and only that address can accept it:

1. Open **Accept the invitation** in the email.
2. Sign in as the invited address. If you're new to tracebloc, sign up with that address first: you get your Personal, then you join.
3. Choose **Accept the invitation**.

tracebloc then says "You joined `<organisation>` as an organisation member." (or "as an organisation admin"), and the organisation is in your account menu.

If you're signed in as another address, the invitation says so. **Sign out and continue** signs you out, keeps the invitation, and brings you back to it once you sign in as the invited address. Two addresses are two separate people on tracebloc: nothing moves between them.

Not joining? Choose **Decline**. Whoever invited you can invite you again. If you ignore the email, nothing happens.

### When an invitation can't be accepted

| What happened | What tracebloc says |
| - | - |
| More than 7 days went by | "This invitation has expired. Ask `<inviter's name>` to invite you again." |
| The organisation owner or an organisation admin withdrew it | "This invitation was withdrawn." |
| Whoever invited you left the organisation, or the organisation was archived | "This invitation is no longer valid." |

Ask the organisation owner or an organisation admin to invite you again.

## Change a member's role or remove a member

In **Members**, the organisation owner makes an organisation member an organisation admin (**Make organisation admin**), or an organisation admin an organisation member (**Make organisation member**).

The organisation owner and organisation admins **Remove** organisation members. Only the organisation owner removes an organisation admin. Nobody removes the organisation owner.

Before a member is removed, you see what stops and what stays. It's the same as [when they leave](#leave-an-organisation): their datasets in the organisation become **No longer available**, nothing on their machines is deleted, and they can still sign in to their Personal.

## Leave an organisation

Any member except the organisation owner can leave: in **Settings**, choose **Leave organisation**. Before you leave, you see what stops and what stays.

What stops:

* Your secure environments stop serving the organisation.
* Your datasets in the organisation become **No longer available** there. Use cases that used them go on with their other datasets.

What stays:

* Your Personal, with its datasets, and the other organisations you're in.
* The use cases, experiments, results and models you made in the organisation stay with it. **Former member** stands where your name stood.
* Nothing on your machines is deleted. Delete those datasets yourself if you want them gone.

Nothing about your secure environments stops you leaving: a secure environment is never handed over, and it stays yours.

If the organisation was your default account, your Personal becomes your default account. The organisation owner hands over the organisation before leaving.

## Hand over the organisation

The organisation owner can make another organisation member the organisation owner: in **Settings**, choose **Hand over** and pick the new organisation owner. You stay in the organisation as an organisation admin, and can then leave.

If the organisation owner's tracebloc account is deleted, the organisation admin who has been in the organisation longest becomes the organisation owner. With no organisation admin, tracebloc names the new organisation owner.

If the organisation owner can't hand over for another reason, for example because they left your company, an organisation admin can ask tracebloc in writing to make them the organisation owner. tracebloc records it in the [audit log](#audit-log). See [Get help](https://docs.tracebloc.io/tools-help/get-help.md).

## Rename the organisation

Only the organisation owner renames the organisation, in **Settings**.

## Archive an organisation

An organisation is archived, never deleted. Only the organisation owner can archive it: in **Settings**, choose **Archive organisation**, then type the organisation's name. Before you archive it, you see what stops and what stays.

What stops:

* Nobody works in the organisation any more, and its open invitations are no longer valid.
* Every secure environment stops serving it, and every dataset in it becomes **No longer available**.
* No experiment runs in it.

What stays:

* Its use cases, results and models stay, read-only, for 30 days. Then they're deleted.
* Its audit log, kept as the law requires.
* Every member's Personal, with its datasets. Anyone whose default account was the organisation works in their Personal.
* Nothing on any machine is deleted: only each secure environment's manager deletes data on it.

## Audit log

The organisation owner and organisation admins read the organisation's **Audit log** in **Organisation settings**, latest first. It lists:

* invitations sent, accepted, withdrawn and expired, and ones that are no longer valid;
* members removed or leaving, and roles changed;
* the organisation created, handed over or archived;
* datasets and secure environments taken out, and secure environments put back;
* tracebloc staff's visits;
* the events of its members' secure environments while they are members.

The audit log names each person who acted by name. Someone who has left, was removed, or deleted their tracebloc account shows as **Former member**. A tracebloc person shows as **tracebloc staff**, never by name or email, with why they opened the organisation's records and the pages they opened. tracebloc staff never see a row of data and never get into a machine.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.