> For the complete documentation index, see [llms.txt](https://docs.uptiq.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.uptiq.ai/platform/control-center/admin/sharing.md). Agents can also search and read this documentation through its [MCP server](https://docs.uptiq.ai/~gitbook/mcp).

# Sharing

Give users and teams access to an asset as a Viewer or an Editor.

Sharing gives users and teams access to an asset. Assets include agents and knowledge bases. You give access as a **Viewer**, who can use the asset, or as an **Editor**, who can change it and share it again.

Sharing also gives access to the assets that the shared asset links to. For example, if an agent runs a flow, a user who gets access to the agent also gets access to that flow. The versions a user gets depend on their role. See [Linked assets](#linked-assets).

## Sharing basics

* **Where**. The **Share** icon in the builder's top bar, or the ⋯ menu on the asset's row or card. For example, **Share Agent** for an agent, or **Share Knowledge** for a knowledge base.
* **Who can share**. The owner, and anyone with the **Editor** role on the asset.
* **What you can share**. Apps, agents, flows, knowledge bases, data sources, and design systems.
* **Who you can share with**. Users and teams in the account. An agent can also be shared with a service account.
* **Scope**. Sharing stays within the asset's account.

## How the Platform decides access

The Platform checks access in two layers. A person acts on an asset only when both layers allow it.

| Layer                                                           | What it decides                                           | What it is based on                                                                                                                              | Where you manage it                                                 |
| --------------------------------------------------------------- | --------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------- |
| Role-based access control (RBAC)                                | Which actions a person can take, such as sharing an agent | The person's roles. Each role is a set of capabilities. A person holds the roles on their own account and the roles of every team they belong to | **Admin** > **Users**, **Teams** and **Roles**                      |
| Attribute-based access control (ABAC), applied as asset sharing | Which assets a person can reach                           | The asset's owner and the shares on it. Each share names a user or a team, an access level of **Viewer** or **Editor**, and a version            | **Share** and **Manage access** windows, and **Admin** > **Access** |

* **Actions**. Roles set which actions a person can take. Sharing an agent needs the **Share agent** capability. See [Roles](https://docs.uptiq.ai/platform/control-center/admin/roles.md) for the roles that hold each capability.
* **Assets**. Shares set which assets a person can reach. An asset is visible only to its owner and to the users and teams it is shared with. A share given to a team reaches every member of the team.
* **Roles that reach every asset**. **Account Admin** and **Organisation Admin** carry the capability to access every asset without a share.
* **Assets with no owner**. They are open to everyone. This covers assets that a system process created, so there is nothing to share.

**Viewer** names two different things. An account role called **Viewer** is a set of capabilities in the RBAC layer. A **Viewer** share on an asset is an access level in the ABAC layer. A person can hold the role without a share on a given asset, and a share does not change the person's roles.

For example, a person with the **Developer** role holds the **Share agent** capability. They can share an agent only when they can also reach that agent as its owner or as an **Editor**.

## Roles and versions

| Role       | What the user can do                              | Versions                                    |
| ---------- | ------------------------------------------------- | ------------------------------------------- |
| **Owner**  | Everything, including sharing.                    | All versions                                |
| **Editor** | Change the asset and share it again.              | All versions                                |
| **Viewer** | Open and use the asset. The builder is view-only. | The saved version you choose, or the latest |

A Viewer who has one saved version of an agent uses that version. When a Viewer asks for the draft or doesn't name a version, the Viewer gets the saved version. A Viewer can't use any other version.

{% hint style="info" %}
**Viewer versions.** Choose the version when you share. A Viewer doesn't move to a newer version on their own.
{% endhint %}

An asset that has an owner is visible only to its owner and to the users and teams it's shared with. An asset with no owner, such as one created by a system process, is open to everyone in the account, so there's nothing to share. The **Share** control isn't available for these assets. A user who points to it sees a message that all users in the account already have access to the agent.

{% hint style="info" %}
**System-created apps.** An app created by the system is open to everyone in the account, so you can't share it.
{% endhint %}

## Share an asset

1. Open the asset's **Share** window. The window title shows the asset name, and the subtitle explains that everything linked to the asset is shared too.
2. Expand **Invite people or teams**. Select as many users or teams as you need. They all get the same role.
3. Search by name, email, or team. Select everyone you want from the **Teams** and **People** groups.
4. Choose a role: **Viewer** or **Editor**. The role starts on **Viewer**. Everyone you select in one go gets the same role.
5. Select **Add**. If you selected one user or team, the label changes to **Add 1**. The users and teams move into **People with access** or **Teams with access**.
6. Select **Share** to apply the changes. Until you do, a message states that nothing changes for anyone.

To change a user's role, use the select on their row. To take away a user's access, select **Remove access** in the same select, then select **Update**. The user loses access to the item immediately.

## Linked assets

Sharing an asset shares what it links to. An agent that runs a flow shares that flow, and a knowledge version shares the data sources it's built from.

![The Share window for an agent. People with access are listed on the left, and the linked assets that the selected person gets are listed on the right.](https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-032864c703d7b53972b4b6d53e6066275c68eb4b%2Fshare-dialog.png?alt=media)

To see what a user gets, select the asset count on their row, such as 1 asset. The panel that opens covers the user's access, for example Owner with all versions. It also has a **Showing** select with **Latest** and each saved version, and the linked assets shared with the user.

| Role       | Linked assets the user gets                                     |
| ---------- | --------------------------------------------------------------- |
| **Viewer** | Each linked asset at the version that the shared asset links to |
| **Editor** | Every version of each linked asset                              |

For example, if an agent links version 1 of a flow, a Viewer can use version 1 of that flow.

When an Editor links another asset after you share, users who don't have that asset see **New** on their row. The count covers only the assets that user is missing.

## Viewer experience

A Viewer can open and use the asset but can't change it. In a knowledge base, a Viewer sees the following.

* A Viewer who opens the chat panel sees a lock and a message that they don't have access to build or edit knowledge.
* A Viewer can't share, export, restore versions, or publish knowledge. The matching controls, including the version menu and the publish badge, aren't available to a Viewer. A Viewer who tries to use **Share** sees a message that they don't have access to share knowledge.
* Datasets, files, and counts are visible but read-only. **Try Knowledge** is available.

The dataset menu still lists actions such as **Upload files to dataset**. A Viewer can't upload a new version of a file, sync, delete a file, or restore a version. These actions need edit access.

## Missing asset access

A user the asset isn't shared with sees a message that the knowledge base wasn't found or that they don't have access to it. Other asset types show the matching message.

While a publish request is open, an approver that the request's policy names gets View access to the asset under review without a share. Any other reviewer needs the asset shared with them. See [Publish Review](https://docs.uptiq.ai/platform/control-center/govern/publish-review/publish-request-details.md#approver-access-to-the-item).

## Review access across the account <a href="#review-access-across-the-account" id="review-access-across-the-account"></a>

**Admin** > **Access** shows who owns each app, agent, flow, knowledge base and integration, and who can use it. It also opens each asset's **Manage access** window. See [Access](https://gitlab.com/uptiq-inc-enterprise/development/documentation/platform-docs-repo/-/tree/main/control-center/Admin/access.md).

## What's next

{% content-ref url="<https://gitlab.com/uptiq-inc-enterprise/development/documentation/platform-docs-repo/-/tree/main/control-center/Admin/access.md>" %}
<https://gitlab.com/uptiq-inc-enterprise/development/documentation/platform-docs-repo/-/tree/main/control-center/Admin/access.md>
{% endcontent-ref %}

{% content-ref url="/pages/crjNeEpfDlzYFU9A9wPz" %}
[Teams](https://docs.uptiq.ai/platform/control-center/admin/teams.md)
{% endcontent-ref %}

{% content-ref url="/pages/IDT0tA2hSZZFunpkhevN" %}
[Roles](https://docs.uptiq.ai/platform/control-center/admin/roles.md)
{% endcontent-ref %}

{% content-ref url="/pages/z8rpK3t5SksnA7RebtXy" %}
[Publish Review](https://docs.uptiq.ai/platform/control-center/govern/publish-review.md)
{% endcontent-ref %}

***

{% columns %}
{% column width="83.33333333333334%" %}

<p align="right"><em>Maintained by</em> <mark style="color:green;">Abhishek Paul</mark><br><code>AI-assisted, human-approved</code></p>
{% endcolumn %}

{% column width="16.666666666666664%" %}

<div align="left"><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-d034645b4f8f8ee661985f5306b60ded3289653c%2Fmaintainer-abhishek-paul.png?alt=media" alt="" width="60"></div>
{% endcolumn %}
{% endcolumns %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.uptiq.ai/platform/control-center/admin/sharing.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
