> For the complete documentation index, see [llms.txt](https://docs.flopsar.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flopsar.com/user-guide/observing-and-diagnosing/investigation/sharing.md). Agents can also search and read this documentation through its [MCP server](https://docs.flopsar.com/~gitbook/mcp).

# Sharing

{% hint style="info" %}
Available since Flopsar **7.2**.
{% endhint %}

An investigation is private when it is created: only its owner can open it, and nobody else sees it in the list, administrators included. The owner can share it with chosen people, each as an editor or a viewer, and can make it public for everyone who may read evidence.

## Roles

|                                            |   Owner   |      Editor      | Viewer | Public reader |
| ------------------------------------------ | :-------: | :--------------: | :----: | :-----------: |
| Open the investigation and its evidence    |     ✓     |         ✓        |    ✓   |       ✓       |
| Export the PDF report, replay evidence     |     ✓     |         ✓        |    ✓   |       ✓       |
| Add evidence, entries and files            |     ✓     |         ✓        |        |               |
| Keep a replayed result                     |     ✓     |         ✓        |        |               |
| Edit or delete an evidence item            | All items | Items they added |        |               |
| Edit and save the findings                 |     ✓     |         ✓        |        |               |
| Rename the investigation                   |     ✓     |         ✓        |        |               |
| Make it public or private                  |     ✓     |                  |        |               |
| Add and remove members, change their roles |     ✓     |                  |        |               |
| Leave the investigation                    |           |         ✓        |    ✓   |               |
| Delete the investigation                   |     ✓     |                  |        |               |
| Make it the active investigation           |     ✓     |         ✓        |        |               |

* **Owner**: the user who created the investigation. Ownership cannot be handed over.
* **Editor**: *Adds evidence, edits the findings and the evidence they added.*
* **Viewer**: *Reads the investigation and exports the report.*
* **Public reader**: anyone with the **View data** and **View parameters** permissions, when the investigation is public.

Users with the **Owner** role are not members of other users' investigations. They see private investigations in the list and can delete them, but cannot open them; see [Investigations of other users](https://docs.flopsar.com/user-guide/observing-and-diagnosing/investigation/managing-investigations.md#investigations-of-other-users).

Everyone, members included, needs the **View data** and **View parameters** permissions, and sees only the evidence of the applications their role allows. Sharing never shows anyone data their role does not allow.

## Sharing with people

Open the investigation and select **Share** in the header.

<figure><img src="https://1957839935-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQzShZISPoFZ9zIHUdjNB%2Fuploads%2Fgit-blob-b14b85a5ea35a47559a92535368c59d11eee4d49%2Finvestigation_share.png?alt=media" alt="The Share Investigation dialog: the field Login or name with the Editor role and the Add button, the hint on who is suggested, and the members: admin as the owner and j.smith as an editor marked not signed in yet"><figcaption><p>The owner and one editor who has not signed in yet.</p></figcaption></figure>

To add someone:

1. In **Add people**, type at least two characters of their login or name. Suggestions show the name and the login.
2. Choose the role: **Editor** (the default) or **Viewer**.
3. Select **Add**, or press Enter.

Who is suggested: *People whose role lets them view data and parameters are suggested; from LDAP, the ones who signed in within the last 90 days. Anyone else can be typed in by login; they see the investigation after signing in.* People who are already members, and the owner, are not suggested.

You can type in a login that Flopsar does not know yet, for example an LDAP user who has never signed in. The member is then marked **not signed in yet** (*Nobody with this login has signed in yet*). Check the spelling: the investigation is shared with whoever signs in with that login.

An investigation can be shared with up to 20 people.

## The list of members

The dialog lists the owner, marked **Owner** and **(you)** when it is you, and every member:

* the login, with **(you)** and **not signed in yet** when they apply;
* *added by* ;
* the role. The owner changes it with the select next to the member; it takes effect at once.
* the bin icon, **Remove**, for the owner.

Under the list, a line says who can open the investigation: *Only the owner and the people above can open it.*, or for a public one *It is also public: everyone with the View data and View parameters permissions can read it.* It ends with *Everyone sees only the evidence of the applications their role allows.*

When it has no members yet, the list says *Not shared with anyone yet.*

Every change is saved at once; **Close** only closes the dialog. Adding a member and changing a role are recorded in the audit trail as `investigation_share`, removing as `investigation_unshare`.

## What members see

A shared investigation appears in the members' list of investigations, under **All** and **Shared with me**, with `by <owner> · you are an editor` (or a viewer) and a **shared** badge. Open it from there, or send them the address of the page.

In the investigation, the header says `shared by <owner> · you can edit` or `· read only`. Instead of **Share**, members have **Members**, which shows the same list without the controls to change it.

An editor's changes are saved under their own name: the evidence they add shows *added by* them, and the audit trail records them as the actor.

## Leaving an investigation

A member who no longer needs an investigation can leave it: select **Members**, then the exit icon, **Leave the investigation**, next to your own name. A message confirms *You left the investigation*, and it disappears from your list. Only the owner can add you back.

The evidence you added stays in the investigation.

## Public investigations

A public investigation can be read by everyone with **View data** and **View parameters**. It is listed for them under **All** and **Shared with me**, marked with a globe. They can open it, read the findings, open the evidence, export the report and replay evidence. They cannot change anything.

To make an investigation public, turn on **Public** in the **New Investigation** or **Edit Investigation** dialog, or select the lock icon in its row of the list. Select the globe icon, or turn **Public** off, to make it private again. The members stay members either way.

{% hint style="warning" %}
A public investigation shows its evidence, with the captured parameters, and your findings to everyone who holds **View parameters**. Share with chosen people instead when that circle is too wide.
{% endhint %}

Only the owner makes an investigation public or private. Making it public or private is not recorded in the audit trail.
