Skip to content

Connection permissions

Whether an operation on a connection is allowed is determined by the workspace role, plus the access level and resource role.

  • Access level determines who can use the connection.
  • Resource role determines which operations are allowed within that scope.

For example, for a connection with an access level of Protected, only users and groups granted a permission can use the connection. Within that group, a Connection User is allowed to run SQL and view the results, while a Connection Viewer is only allowed to view the results.

For a feature overview, see Connection.

Access level

Access levelDescription
WorkspaceMembers in the workspace can access it according to their workspace role
ProtectedOnly users and groups granted a resource role can access it. The Workspace Owner can edit the connection's permissions
PrivateOnly users and groups granted a resource role can access it. Even the Workspace Owner can't edit the connection's permissions

TIP

The Protected and Private access levels are an optional feature. Depending on your contract, they might not be available.

Resource role

RoleSummary
Connection OwnerCan edit and delete the connection, and change its permission settings
Connection UserCan run SQL, view the results and tables, and publish related reports
Connection ViewerCan view the results and tables

Up to 3 Connection Owners can be added (Fixed limits and constraints).

Operations and required roles

"X or higher" in the tables means that role and any higher role can perform the operation. Changing a connection's permission settings includes changing the access level and granting or changing resource roles.

Access level: Workspace

No individual permission grant is needed for members. Whether an operation is allowed is mainly determined by the workspace role.

OperationRequired role
Creating a connectionWorkspace Editor or higher
Listing connection namesWorkspace Viewer or higher
Editing and deleting a connectionWorkspace Owner, or Connection Owner
Changing a connection's permission settingsWorkspace Owner, or Connection Owner
Running SQL on a connection / downloading execution resultsWorkspace Editor or higher
Getting a connection's SQL execution results and table informationWorkspace Viewer or higher

Access level: Protected

Only users and groups granted a resource role can use this connection. The Workspace Owner can change the connection's permission settings.

OperationRequired role
Creating a connectionWorkspace Editor or higher
Listing connection namesWorkspace Viewer or higher
Editing and deleting a connectionWorkspace Owner, or (Workspace Viewer or higher and Connection Owner)
Changing a connection's permission settingsWorkspace Owner, or (Workspace Viewer or higher and Connection Owner)
Running SQL on a connection / downloading execution resultsWorkspace Editor or higher, and Connection User or higher
Getting a connection's SQL execution results and table informationWorkspace Viewer or higher, and Connection Viewer or higher

Access level: Private

Only users and groups granted a resource role can use this connection. Even the Workspace Owner can't change the connection's permission settings.

OperationRequired role
Creating a connectionWorkspace Editor or higher
Listing connection namesWorkspace Viewer or higher, and Connection Viewer or higher
Editing and deleting a connectionWorkspace Viewer or higher, and Connection Owner
Changing a connection's permission settingsWorkspace Viewer or higher, and Connection Owner
Running SQL on a connection / downloading execution resultsWorkspace Editor or higher, and Connection User or higher
Getting a connection's SQL execution results and table informationWorkspace Viewer or higher, and Connection Viewer or higher

Operations on saved queries and the catalog also follow the permissions of the connection they're linked to. For details, see Query and Catalog.