> ## Documentation Index
> Fetch the complete documentation index at: https://domoinc-openapi-sync-dataflows.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Restrict Access to a SQL DataFlow

### Intro

When you need to share a SQL DataFlow with your team or others, but want to restrict *edit* access to the DataFlow owner and Domo admins, you can choose to make the DataFlow "private" while creating or editing it.

<Note>
  **Note:** Admins are those with an Admin system role or a custom role with the Manage DataFlow grant enabled. Learn more about [managing roles and grants](/s/article/360043438973).
</Note>

***

### Restrict Edit Access to a SQL DataFlow

Follow these steps to restrict edit access to a DataFlow:

1. While creating or editing the DataFlow, select **Settings** to open the settings modal.

   <Frame>
     <img alt="" src="https://mintcdn.com/domoinc-openapi-sync-dataflows/EpEQaVXeYQJOgZLs/images/kb/ka0Vq000000DVPN-00N5w00000Ri7BU-0EMVq000007bRLN.jpg?fit=max&auto=format&n=EpEQaVXeYQJOgZLs&q=85&s=86970e9f7b40a5dafd93d8cbe459aa8e" style={{width: 450, height: 194}} width="685" height="295" data-path="images/kb/ka0Vq000000DVPN-00N5w00000Ri7BU-0EMVq000007bRLN.jpg" />
   </Frame>
2. Go to the modal's **Privacy** tab and check the box labeled **Enable Privacy**.

   <Frame>
     <img alt="" src="https://mintcdn.com/domoinc-openapi-sync-dataflows/EpEQaVXeYQJOgZLs/images/kb/ka0Vq000000DVPN-00N5w00000Ri7BU-0EMVq000007bRTR.jpg?fit=max&auto=format&n=EpEQaVXeYQJOgZLs&q=85&s=c0346a1bc6e55092b26f8f76ac11151e" style={{width: 751, height: 232}} width="1104" height="341" data-path="images/kb/ka0Vq000000DVPN-00N5w00000Ri7BU-0EMVq000007bRTR.jpg" />
   </Frame>
3. Select **Apply** to close the modal
4. Save the changes to your DataFlow.

<Note>
  **Note:** To enable edit access to all viewers of this DataFlow, follow these steps and uncheck the box.
</Note>

### Restrictions on Sharing DataFlows

You may want to share a DataFlow with another person so that they can access and edit that DataFlow. In this case, the following must be true:

* The person must have access to all input DataSets for the DataFlow
* The person cannot be a part of a Personalized Data Permissions (PDP) policy on any of the input OR output DataSets that restricts data.

  Either the DataSet(s) must have PDP disabled OR the person must be a member of the All Rows policy for the DataSet(s).<br /><br />

  Learn more about [PDP](/s/article/360042934614).
