DataLab Docs
  • What is DataLab?
  • Work
    • Creating a workbook
    • Sharing a workbook
    • Managing a workbook
    • Code cell
      • Working with packages
    • Text cell
      • Including images
    • SQL cell
      • SQL scenarios
      • Parameterize your SQL query
    • Explore Data cell
    • Chart cell
      • Configuring your chart
      • Pivot charts
      • Migration guide
    • AI Assistant
    • Version history
    • Scheduled runs
    • Hiding and showing cells
    • Long-running cells
    • Report view
    • Environment variables
    • Git and GitHub
  • Connect to Data
    • Connect your data to DataLab
    • Sharing a Data Source
    • Airtable
    • Amazon Athena
    • Amazon S3
    • Databricks
    • Dropbox
    • Files
    • Google Drive
    • Google BigQuery
    • Google Sheets
    • MariaDB
    • Microsoft SQL Server
    • MongoDB
    • MotherDuck
    • MySQL
    • Oracle Database
    • PostgreSQL
    • Redshift
    • Snowflake
    • Supabase
  • Guides
    • Publish a notebook
    • Importing data from flat files
    • Resizing plots
    • Show Bokeh and Pyvis plots
  • Resources
    • Pricing
    • Manage group settings
    • Reporting for Group Admins
    • DataLab for education
    • Technical requirements
    • Addressing slow code
    • Address R vulnerability
    • Get help
Powered by GitBook
On this page
  • Roles
  • Interaction with workbook access roles

Was this helpful?

  1. Connect to Data

Sharing a Data Source

PreviousConnect your data to DataLabNextAirtable

Last updated 4 months ago

Was this helpful?

The controls described in this ticket are only available in a group context.

DataLab offers role-based access controls for and 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

Roles

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.

Interaction with workbook access roles

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.

Data Sources
Environment Variables
Data Source sharing modal