Sharing a Data Source
Last updated
Was this helpful?
Last updated
Was this helpful?
The controls described in this ticket are only available in a group context.
DataLab offers role-based access controls for Data Sources and Environment Variables created in a group context. For the remainder of this article these will be referenced as an Integration.
To manage the access controls to an Integration, find the "Share" button in the Data Source detail screen or the dropdown menu of an Environment Variable integration. This will open the sharing modal.
In this modal, you can:
Add specific people to use your Integration by using their email
Today, you can only invite users that already have a DataCamp account.
Change the group-wide access to your Integration
You can give different people (or groups of people) different roles:
View-Only - Can only view data from this Integration, not use code to query it.
Query - Can connect workbooks to the Integration and query it.
Manage (only specific users) - Can query and manage sharing settings of the Integration.
The access given to Integrations affects the access a user has on a workbook. Integrations connected to a workbook can cause a downgrade of the workbook access and users are presented with the option to request necessary permissions.
For example, if a user has the 'Editor' role on a workbook, it is required to have the 'Query' role on all connected integrations. If the user only has the 'View-Only' role on a subset of connected integrations, the workbook access is downgraded to 'Viewer'. If the user has no access to a subset of connected integrations, the workbook access is downgraded to 'No access'.
Assigned roles on integrations will not cause an upgrade of workbook access. Having 'Query' access to a connected integration will not cause a user to get the 'Editor' role on a workbook if only assigned the 'Viewer' role.