# Collaboration and sharing

Workflows are designed as a collaborative space, where many researchers can work together in real-time as they build out an analysis and explore data.

However, the underlying data in a workflow may be governed by strict access rules, and it is ultimately up to the dataset owner(s) to govern who can see their datasets and any derivatives.

As such, when conceptualizing workflow access, there are two points to consider:

1. The workflow's sharing configuration, which defines the set of collaborators that will be able to interact with the workflow.
2. The [data access rules](https://docs.redivis.com/reference/data-access) inherited by each node, representing the combination of all datasets whose data is present in that node.

## Sharing a workflow

To update a workflow's sharing configuration, click the **Share** button in the left section of the workflow menu.

All workflows are owned by either a user or an [organization](https://docs.redivis.com/reference/organizations), and can then be shared with other users and organizations. When a workflow is owner or shared with an organization, all administrators of that organization will have corresponding access.

{% hint style="info" %}
When you use an organization's data, administrators of that organization will automatically be granted "view" access to your workflow, which will be reflected in the share modal.&#x20;

You will not be able to remove such organizations until you have removed all their data from the workflow.
{% endhint %}

Workflows can also be associated with a [study](https://docs.redivis.com/reference/your-account/studies), which may be necessary if access to certain datasets in the workflow was granted to that study. In this case, you can specify a level of access to the workflow for other collaborators on the study.

<div data-with-frame="true"><figure><img src="https://1672950126-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LVodLwUXgJUGcm5Cvso%2Fuploads%2FBXeMIDmKvw45mFwigCxP%2FScreenshot%202026-01-26%20at%2019.29.02.png?alt=media&#x26;token=ba6213f4-ad84-44f8-89fa-d2575a1a9f46" alt="Screenshot of workflow share modal"><figcaption></figcaption></figure></div>

{% hint style="success" %}
When you share a workflow, you are *not* sharing access to any of the data in the workflow – this is governed by each node's underlying data access rules.&#x20;

As a researcher, you can generally confidently share a workflow without worrying about violating and data usage agreements, since you aren't actually giving access to the underlying data.
{% endhint %}

#### Workflow collaborator roles

The following access roles can be assigned to workflow collaborators:

* **Owner:** Each workflow has one owner. The owner operates as an editor, but has the additional ability to change the owner and delete the workflow. The workflow will also show up under the owner's namespace in the API.
* **Edit:** Workflow editors can create, modify, delete, and execute any node in the workflow, update workflow metadata, and perform other editing actions. They can also share the workflow with others (but can't change the owner).
* **Comment:** Workflow commenters have read-only access to the workflow, though they can also leave comments on individual nodes.
* **View:** Viewers have read-only access to the workflow, though they will be able to clone the workflow to have their own editable copy.

#### Comments

Any node in a workflow can be annotated with a comment by workflow collaborators. Comments are intended to be a space for conversation grounded in a specific area of a workflow. They can be replied to in threads by multiple collaborators and resolved when the conversation is complete.&#x20;

#### Simultaneous editors

Multiple users with edit access can be working on a workflow at the same time. When this is the case, you will see their picture in the top menu bar alongside your own and a colored dot on the workflow tree to the right of the node they currently have selected. When a notebook is started you will see any collaborators code edits in real time.

#### Public visibility

You can choose to make your workflow publicly visible, in which case it will be discoverable to anyone on the internet. This can be particularly useful if you'd like to share a reproducible artifact of your work (often accompanied by [a DOI for the workflow](https://docs.redivis.com/reference/overview#workflow-dois)). Importantly, public viewers' access will still be governed by the source datasets in your workflow — these viewers will **not** be able to see any data from datasets that they don't have access to.&#x20;

When making your workflow public, you can decide whether to make the code in your workflow publicly visible, or for code visibility to be dependent on (metadata) access to any source datasets. Notably, code – by definition – leaks variable names, and it is your responsibility to ensure that such public distribution is aligned with any data use agreements and policies.

## Workflow node access

All tables, transforms, and notebooks in your workflow are derived from one or more source datasets. When determining a user's [access level](https://docs.redivis.com/reference/data-access/access-levels) to a particular node, Redivis computes the lowest access level across all source datasets. Your ability to interact with workflow nodes for different access levels is as follows:

* **None:** The node will be black, and you will not be able to see any information about it outside of its name and owner.
* **Overview:** The node will be black, and you will only be able to see its name and description.
* **Metadata:** The node will be checkered. If a table, you will be able to see variable names and [univariate statistics](https://docs.redivis.com/tables/variables#univariate-statistics), but you will not be able to look at cells or download the data. If a transform, you can view its configuration and code, but cannot run it.
* **Data:** The node will be grey, and you will be able to interact with it normally.

If your access level to a node is lower than "data", when you click on the node you will see a red button in the top right showing your current access level. Click on this button to see which datasets are contributing to your reduced access and to subsequently [apply for access.](https://docs.redivis.com/guides/discover-and-access-data/apply-to-access-restricted-data)

{% hint style="info" %}
View an [example workflow](https://redivis.com/projects/tvy4-603ecg59t) with limited data access. The workflow is public, which means anyone can open it, but what you can see in different nodes is dependent on your access to the source dataset(s) for that node.
{% endhint %}

![Access to individual nodes in a workflow is governed by their source dataset(s)](https://1672950126-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LVodLwUXgJUGcm5Cvso%2Fuploads%2FSSRIdwlNqmB0pHzJ6y5A%2FScreenshot%202025-08-28%20at%2013.01.37.png?alt=media\&token=9d7546ad-3a3b-40ee-a831-8e74efc67498)

## Export rules

Similarly to node access, table export restrictions (if any) will represent the union of all [export restrictions](#usage-rules) assigned to the datasets from which that table is derived.&#x20;

In many cases, you will be able to request an export exception in order to download a particular table. If the table contains datasets with export restrictions from multiple organizations, you will have to request approval from each organization.

## Study assignment

Workflows can optionally be assigned to a [study](https://docs.redivis.com/reference/your-account/studies), allowing you to organize your workflows around specific research aims. Additionally, by assigning your workflow to a study, you will have the option to automatically share that workflow with other collaborators in the study.

In some cases, your access to a dataset may be [approved within the context of a particular study](https://docs.redivis.com/data-access/requesting-access#study-requirement-approval). If this is the case, your workflow *must* be assigned to that study in order for you to run transforms and notebooks within the workflow.

You can change the study a workflow is in by clicking on the workflow's name in the top black bar, then clicking on Study.&#x20;

![](https://1672950126-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LVodLwUXgJUGcm5Cvso%2Fuploads%2FKRxqyrTPEZoxMFs7i9Ty%2FScreenshot%202024-12-09%20at%206.11.56%E2%80%AFPM_out.png?alt=media\&token=129d91e2-0b62-418e-b03a-9a6e8bce329a)
