> ## 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.

# Datasets and secure environments

> How datasets and secure environments work in an organisation: which account a dataset belongs to, who trains on it, who manages a secure environment, and what happens when one is taken out.

A secure environment, and every dataset in it, stays with the person who installed it. No organisation role changes that.

## Datasets

### A dataset belongs to one account

Each dataset belongs to one account: your Personal or one organisation you're a member of. You choose it when you [ingest the dataset](https://docs.tracebloc.io/environment-setup/cli.md#ingest-a-dataset): the dataset belongs to the account the CLI works in, your [default account](https://docs.tracebloc.io/accounts/personal-and-organisations.md#your-default-account). To ingest into another account, make it your default account first.

One secure environment can hold datasets of several accounts. The data stays in your secure environment whichever account a dataset belongs to: nothing is copied to the organisation.

A dataset doesn't move to another account later. To have it in another account, ingest it again there.

You can ingest only from a secure environment you manage, into your Personal or into an organisation you're a member of, and never into an organisation that took your secure environment out.

### Who sees a dataset

In an organisation, every member sees its datasets by name and mark (**Patient data**, **Open data** or **Synthetic data**), who manages each (**Managed by**), and who added it (**Added by**). Nobody in the organisation sees a dataset's rows.

Only the person who manages a dataset's secure environment renames it, describes it, or deletes it.

### Who trains on a dataset

Being in an organisation shows you its datasets. It never lets you train on them. A dataset trains only in use cases of the person who manages it, and of people they invite.

A use case created in an organisation can let **Your organisation** join it: every organisation member can join without an invitation. People who join that way train only on the datasets of the person who created the use case.

To train on a colleague's dataset, ask them to invite you, or train on your own data.

### Take a dataset out of an organisation

The organisation owner and organisation admins can take a dataset out of the organisation:

1. Work in the organisation, and open **My Data** on the [Secure Environment](https://ai.tracebloc.io/secure-environment) page.
2. Pick the dataset. Its drawer names the account it belongs to.
3. Choose **Take out**, then **Take out** again to confirm.

Before you confirm, you see what it does:

* The organisation's use cases can no longer train on the dataset. They stay open, go on with their other datasets, and show it as **No longer available**. Results and models made with it stay.
* Nothing is archived, and nothing on its secure environment is deleted.

## Secure environments

### Who manages a secure environment

Whoever installed a secure environment manages it, and it stays with their Personal. tracebloc shows them on it as **Managed by** them. A secure environment is never handed over to anyone else, and leaving or being removed from an organisation never needs one handed over.

Only the person who manages a secure environment deletes data in it. No organisation owner or organisation admin does, and tracebloc never does.

To have a secure environment managed by someone else, that person installs their own, signed in as themselves.

### Secure environments in an organisation

A secure environment you install is listed in each organisation you're a member of, right away, with no approval. In **Secure environments** in **Organisation settings**, every member sees the organisation's secure environments, who manages each, and whether each is **Online** or **Offline**.

### Take a secure environment out, and put it back

The person who manages a secure environment can take it out of an organisation, and so can the organisation owner and organisation admins: in **Secure environments**, choose **Take out** on it. Before you take it out, you see what stops and what stays.

* Its datasets in that organisation become **No longer available** there.
* New data for that organisation is refused on it until the organisation owner or an organisation admin puts it back, even after it's installed again on the same machine.
* Nothing on it is deleted. Its datasets in its manager's Personal and in other organisations don't change, and whoever manages it stays an organisation member.

The organisation owner or an organisation admin puts it back with **Put back**. Its datasets don't come back with it: the person who manages it adds each again.

Secure environments that were taken out, or that their manager deleted, are listed under **No longer in this organisation**, with who did it and when.

### No manager

A secure environment from before tracebloc recorded who manages each one shows **No manager**. It stays listed and read-only, and nobody can take it out. To have its manager recorded, ask tracebloc: see [Get help](https://docs.tracebloc.io/tools-help/get-help.md). tracebloc records a manager only where nobody is recorded, and the record never changes after that.

## When a dataset is no longer available

A dataset shows **No longer available** in an organisation when:

* the person who manages it deleted it,
* it, or its secure environment, was taken out of the organisation,
* the person who manages it left the organisation or was removed from it, or
* the organisation was archived.

Only the first one deletes data. In every other case, nothing on the secure environment is deleted.

A dataset that is no longer available stays part of the use cases, experiments, models and weights files it was in, and their results stay. A use case that loses a dataset stays open and trains on its other datasets:

* If a dataset becomes no longer available while you start an experiment, tracebloc says: "A dataset in this use case is no longer available. Start the experiment again to train on the rest."
* If none of a use case's datasets is available any more, starting an experiment says: "None of this use case's datasets is available any more, so no new experiments can start."

## Former member

When someone leaves an organisation, is removed from it, or deletes their tracebloc account, **Former member** stands where their name stood. The use cases, experiments, results and models they made in the organisation stay with it.


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