> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/data-science-lab-6/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bdb.ai/data-science-lab-6/tabs-for-a-dsl-project/model/share-a-model.md).

# Share a Model

The share option for a model facilitates the user to share it with other users and user groups. It also helps the user to exclude the privileges of a previously shared model.

## Sharing a Model

{% hint style="success" %}
*Check out the following video for guidance on the Share model functionality.*
{% endhint %}

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28ipFzCz8EMtVtHrBFLx%2Fuploads%2FhLe3CKDnx4PuPSBtkhJi%2FSharing%20a%20Model.mp4?alt=media&token=e67c969b-ce44-403c-9605-a5434a3a8f47>" %}
***Sharing a Model***
{% endembed %}

* Navigate to the ***Models*** tab where your saved models are listed.
* Find the Model you want to share and select it.
* Click the ***Share*** icon for that model from the Actions column.&#x20;

  <figure><img src="https://1760649651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28ipFzCz8EMtVtHrBFLx%2Fuploads%2FRvntZkwUjToau7NS5lNv%2Fimage.png?alt=media&amp;token=de7f3915-8c6c-43fa-be63-e2eb1f10964f" alt=""><figcaption></figcaption></figure>
* The **Manage** ***Access*** page opens for the selected model.
* Select permissions using the Grant Permissions checkboxes.
* Navigate to the Users or User tab to select user(s) or user group(s).
* Use the search function to locate a specific user or user group you want to share the Model with.
* Select a user or user group using the checkbox.
* Click the ***Save*** option.

<figure><img src="https://1760649651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28ipFzCz8EMtVtHrBFLx%2Fuploads%2F8bfIEFxfOUKqLm5KDs2g%2Fimage.png?alt=media&amp;token=5c7c1224-827e-4737-a20c-d85d92842f55" alt=""><figcaption><p><em><strong>Manage Access page for the selected Model</strong></em> </p></figcaption></figure>

* A notification message appears ensuring that it has been shared.
* The selected user/ user group will be listed under the ***Granted Permissions*** section.&#x20;

  <figure><img src="https://1760649651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28ipFzCz8EMtVtHrBFLx%2Fuploads%2FJZLD0kIB3pGTLQBVLzXU%2Fimage.png?alt=media&amp;token=5de661a0-0957-404a-8543-3821873e229c" alt=""><figcaption></figcaption></figure>

### **Accessing a Shared Model**

* Log in to the user account where the Model has been shared.
* Navigate to the Projects page within the DS Lab module.
* The Project where the source model was created will be listed.
* Click the View icon to open the shared Project.&#x20;

  <figure><img src="https://1760649651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28ipFzCz8EMtVtHrBFLx%2Fuploads%2F5jEGrlg8kT28C1Z0qwjC%2Fimage.png?alt=media&amp;token=7dc68754-1fab-4ca6-a073-ec76cbca70a1" alt=""><figcaption></figcaption></figure>
* Open the Model tab for the project.
* Locate the Shared Model, which will be marked as shared, in the Model list. &#x20;

  <figure><img src="https://1760649651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28ipFzCz8EMtVtHrBFLx%2Fuploads%2FnMLkRb41raVmTPQaBhm5%2Fimage.png?alt=media&amp;token=8c71ae80-f8da-4745-839f-a9447f9d53f6" alt=""><figcaption></figcaption></figure>

<details>

<summary>Shared Model with View Permission</summary>

When a **Model** is shared from User A to User B with **View** Permission, User B will have the following privileges:

* View the shared model.

</details>

<details>

<summary>Shared Model with Edit Permission</summary>

When a **Model** is shared from User A to User B with **Edit** Permission, User B will have the following privileges:

* View the model and trigger the explainer dashboard job.
* View the model and generate the explainer dashboard.
* View the model and migrate.

</details>

<details>

<summary>Shared Model with Execute Permission</summary>

When a **Model** is shared from User A to User B with **Execute** Permission, User B will have the following privileges:

* View the model and Register the Model into the Data Pipeline.
* View the model, Update and save the model information, and Register the model as API.
* View the model and unregister the registered model as an API service.

</details>

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark>  A targeted share user <mark style="color:red;">cannot</mark>* ***re-share** or **delete** a shared model* *regardless of the permission level (View/ Edit/Execute).*
{% endhint %}

## Excluding Users

{% hint style="success" %}
*Check out the illustration on using the Exclude Users functionality.*
{% endhint %}

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28ipFzCz8EMtVtHrBFLx%2Fuploads%2FkJfyKIvjWgBUtjKAyI11%2FExcluding%20the%20user%20from%20Sharing%20a%20Model.mp4?alt=media&token=00f585b6-1f76-45c0-b4e8-b814efbd9ac1>" %}
***Excluding the users from the Share Model action***
{% endembed %}

* Navigate to the Models tab.
* Select a model from the displayed list.
* Click the ***Share*** icon.&#x20;

<figure><img src="https://1760649651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28ipFzCz8EMtVtHrBFLx%2Fuploads%2FVw02goVecj11x6ZSp4AO%2Fimage.png?alt=media&amp;token=68c081d5-d28e-4ed8-be0f-7763227f70bb" alt=""><figcaption></figcaption></figure>

* The Manage Access window appears for the selected model.
* Select permissions using the checkboxes from the Grant Permissions option.
* Open the User Groups tab.
* Select user group(s) using the checkbox(es).&#x20;

<figure><img src="https://1760649651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28ipFzCz8EMtVtHrBFLx%2Fuploads%2F4VYFmPFPelKo3k1JjEY0%2Fimage.png?alt=media&amp;token=a63023ea-e387-4c90-9458-fdfa2680f332" alt=""><figcaption></figcaption></figure>

* Navigate to the ***Exclude Users*** tab.
* Select users to be excluded using checkboxes.
* Click the ***Save*** option.

<figure><img src="https://1760649651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28ipFzCz8EMtVtHrBFLx%2Fuploads%2FmQ74mm0v44CJRmjqNOCf%2Fimage.png?alt=media&amp;token=2504299c-860a-45ce-9417-010c37df16a7" alt=""><figcaption></figcaption></figure>

* A notification message appears.
* The excluded users will be listed under the ***Excluded Users*** section.

<figure><img src="https://1760649651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28ipFzCz8EMtVtHrBFLx%2Fuploads%2FlHQSWwrNaDpQnUNDkRlz%2Fimage.png?alt=media&amp;token=f7d04d82-b0b1-4df3-90f1-a570ad263720" alt=""><figcaption></figcaption></figure>

## Including an Excluded User

{% hint style="success" %}
Check out the illustration for including an excluded user to access a shared model.
{% endhint %}

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28ipFzCz8EMtVtHrBFLx%2Fuploads%2FaQYQVvpjFN55gwGI1Nce%2FIncluding%20an%20Excluded%20user.mp4?alt=media&token=53a65dea-b945-4d3f-96cb-c0e03fda6a1f>" %}
***Including back an Excluded user to access a shared model***
{% endembed %}

* Navigate to the ***Manage Access*** window for a shared model.
* The ***Excluded Users*** section will list the excluded users from accessing that model.
* Select a user from the list.
* Click the ***Include User*** icon.&#x20;

<figure><img src="https://1760649651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28ipFzCz8EMtVtHrBFLx%2Fuploads%2FjA0dCNHpwaAVjs7vtPcx%2Fimage.png?alt=media&amp;token=bd17fa16-279b-4f42-94d1-f680fbf6d53d" alt=""><figcaption></figcaption></figure>

* The ***Include User*** dialog box opens.
* Click the ***Yes*** option.

<figure><img src="https://1760649651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28ipFzCz8EMtVtHrBFLx%2Fuploads%2Fo43aSLXEjid8GCLYiaeb%2Fimage.png?alt=media&amp;token=6c1a38b6-6d6b-4e81-abb1-bfddc8fb8384" alt=""><figcaption></figcaption></figure>

* A notification message appears ensuring that the selected user is included.
* The user gets removed from the ***Excluded Users*** section.

<figure><img src="https://1760649651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28ipFzCz8EMtVtHrBFLx%2Fuploads%2F9mrF7Sseyjg4vq5yrJwV%2Fimage.png?alt=media&amp;token=683f6b57-284f-433e-9cf5-9bddbec6db37" alt=""><figcaption></figcaption></figure>

## Revoking Privileges

{% hint style="success" %}
*Check out the illustration on revoking privileges for a user.*
{% endhint %}

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28ipFzCz8EMtVtHrBFLx%2Fuploads%2Ff9k6dx2vlS9x3tPtFptf%2FRevoking%20the%20Privileges%20for%20a%20shared%20model.mp4?alt=media&token=6a388b9e-2b56-4f87-b978-8df47e9b87c2>" %}
***Revoking the shared privileges for user***&#x20;
{% endembed %}

* Navigate to the Manage Access window for a shared model.
* The ***Granted Permissions*** section will list the shared user(s)/ user group(s).
* Select a user/ user group from the list.
* Click the ***Revoke*** icon.

<figure><img src="https://1760649651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28ipFzCz8EMtVtHrBFLx%2Fuploads%2FPzg85t3cYGuzaIZmRALf%2Fimage.png?alt=media&amp;token=c1af8ed1-254f-486d-89c6-4dfa6f8b94f8" alt=""><figcaption></figcaption></figure>

* The ***Revoke Privileges*** dialog box opens.
* Click the ***Yes*** option.

<figure><img src="https://1760649651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28ipFzCz8EMtVtHrBFLx%2Fuploads%2FmSqZnL95NUuFscRwJvgV%2Fimage.png?alt=media&amp;token=07d20b4b-fea3-434f-94f3-9fe6e940b874" alt=""><figcaption></figcaption></figure>

* A notification message ensures that shared model privileges are revoked for the selected user/user group. The user/ user group will be removed from the Granted Permissions section.

<figure><img src="https://1760649651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28ipFzCz8EMtVtHrBFLx%2Fuploads%2FadDPTCTkw0o0jGYaJxUI%2Fimage.png?alt=media&amp;token=ed459298-0d81-4012-918d-6aa92d3cf053" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> The same set of steps can be followed to revoke privileges for a user group.*
{% endhint %}
