# Source Datastore Permissions

Source: https://userguide.qualytics.io/source-datastore/datastore/deep-dive/permissions/

This page covers the roles and permissions required to view, add, change, and remove source datastores, including connection reuse and multi-schema creation. For the full reference of user roles and how they compare, see [User Roles](https://userguide.qualytics.io/settings/access/users/roles/overview/).

> **Note: Two Permission Systems**
>
> Qualytics has two independent permission axes. **User roles** (Member, Manager, Admin) control what a user can do across the entire workspace. **Team permissions** (Reporter, Viewer, Drafter, Author, Editor) control what a user can do on a specific datastore, through the teams the datastore is assigned to. Most actions need both.

## User Roles (Workspace-Level)

User Roles determine the type of actions a user can perform across the workspace.

| Action | Member | Manager | Admin |
| --- | --- | --- | --- |
| View datastores | Allowed | Allowed | Allowed |
| Create a datastore | Not allowed | Allowed | Allowed |
| Edit a datastore | Allowed | Allowed | Allowed |
| Run and schedule Sync, Profile, and Scan | Allowed | Allowed | Allowed |
| Preview a datastore's data | Allowed | Allowed | Allowed |
| Delete a datastore | Not allowed | Not allowed | Allowed |
| Assign tags | Allowed | Allowed | Allowed |
| Assign teams | Not allowed | Allowed | Allowed |
| Assign a group | Allowed | Allowed | Allowed |
| Toggle favorite | Allowed | Allowed | Allowed |
| Link an enrichment destination | Allowed | Allowed | Allowed |
| Unlink an enrichment destination | Not allowed | Not allowed | Allowed |
| Reuse a saved connection | Not allowed | Allowed | Allowed |
| Create datastores with multi-schema creation | Not allowed | Allowed | Allowed |
| Read the Timeline | Allowed | Allowed | Allowed |
| Comment on the Timeline | Allowed | Allowed | Allowed |

## Team Permissions (Asset-Level)

Team Permissions determine what a user can do on a specific datastore within their assigned teams. These are checked **in addition** to User Roles.

| Action | Reporter | Viewer | Drafter | Author | Editor |
| --- | --- | --- | --- | --- | --- |
| View datastores | Allowed | Allowed | Allowed | Allowed | Allowed |
| Create a datastore | Not allowed | Not allowed | Not allowed | Not allowed | Allowed |
| Edit a datastore | Not allowed | Not allowed | Not allowed | Not allowed | Allowed |
| Run and schedule Sync, Profile, and Scan | Not allowed | Not allowed | Not allowed | Not allowed | Allowed |
| Preview a datastore's data | Not allowed | Allowed | Allowed | Allowed | Allowed |
| Delete a datastore | Not allowed | Not allowed | Not allowed | Not allowed | Not allowed |
| Assign tags | Not allowed | Not allowed | Not allowed | Not allowed | Allowed |
| Assign teams | Not allowed | Not allowed | Not allowed | Not allowed | Allowed |
| Assign a group | Not allowed | Not allowed | Not allowed | Not allowed | Allowed |
| Toggle favorite | Allowed | Allowed | Allowed | Allowed | Allowed |
| Link an enrichment destination | Not allowed | Not allowed | Not allowed | Not allowed | Allowed |
| Unlink an enrichment destination | Not allowed | Not allowed | Not allowed | Not allowed | Not allowed |
| Reuse a saved connection that datastores already use | Not allowed | Not allowed | Not allowed | Not allowed | Allowed |
| Create datastores with multi-schema creation | Not allowed | Not allowed | Not allowed | Not allowed | Allowed |
| Read the Timeline | Allowed | Allowed | Allowed | Allowed | Allowed |
| Comment on the Timeline | Not allowed | Allowed | Allowed | Allowed | Allowed |

> **Note: Admin-only actions**
>
> Deleting a datastore and unlinking an enrichment destination need the **Admin** role, so no team permission is enough for them.

> **Note: New tags**
>
> Assigning tags that already exist follows the **Assign tags** row. Typing a tag name that does not exist yet creates it, and creating a tag needs the **Admin** role.

## How Both Layers Work Together

To **create a datastore**, a user must satisfy both layers:

1. **User Role**: Must be at least **Manager** (workspace-level)
2. **Team Permission**: Must have **Editor** permission in at least one of the teams assigned to the new datastore (asset-level). With no teams specified, the datastore goes to the **Public** team, so Editor is needed there.

To **edit a datastore**, assign tags or a group, or link an enrichment destination, a user must satisfy both layers:

1. **User Role**: Must be at least **Member** (workspace-level)
2. **Team Permission**: Must have **Editor** permission on the datastore (asset-level)

To **assign teams**, a user must be at least **Manager** and have **Editor** permission on the datastore.

> **Info: Admin Bypass**
>
> Users with the **Admin** role bypass all team-level permission checks. An Admin can manage any datastore regardless of team membership.

## Connection Reuse

Reusing a saved connection to add a datastore needs the **Manager** role. When datastores already use the connection, it also needs the **Editor** team permission on at least one of them. A connection that no datastore uses yet needs only the role. Admins are exempt. See [Connection](https://userguide.qualytics.io/source-datastore/datastore/deep-dive/connection/#reusing-a-connection).

## Multiple-Schema Creation

Every step of [multi-schema creation](https://userguide.qualytics.io/source-datastore/datastore/deep-dive/multiple-schema/) (discovering catalogs and schemas, validating schemas, creating the datastores, and creating a group inline) needs the **Manager** role. Users who hold only the **Member** role, or only the **Editor** team permission, cannot use the flow. Linking an enrichment destination afterwards follows the single-datastore rule (**Member** role and **Editor** team permission on each datastore), and unlinking needs **Admin**.

### Team Permission Rules

In addition to the role requirement, team-level permissions are enforced when datastores are created. This is the same rule that applies to creating a single datastore:

- The user must have **Editor** permission in at least one of the teams assigned to the new datastores.
- Having Editor in at least one assigned team is sufficient. Membership in every assigned team is not required. Admins bypass this team-permission check.
- If no teams are specified, the datastore is assigned to the **public team**, so the user must have Editor permission on the public team for the creation to succeed.

> **Note**
>
> Teams specified in the bulk create request that do not exist yet are **automatically created**. However, the user must still have Editor permission in at least one of the resulting teams.

### Saved Connections

When the flow reuses a saved connection that one or more datastores already use, the user also needs the **Editor** team permission on at least one of them to discover catalogs and schemas, validate schemas, or create datastores from it. A saved connection that no datastore uses yet needs only the **Manager** role. A new connection can be used to discover and validate schemas before it is saved. Admins bypass this check.

> **Info**
>
> For a Manager, the connection list shows the connections used by a datastore on one of their teams, plus connections that no datastore uses yet. Admins see every connection. A Manager can see a connection there through a datastore where they hold less than **Editor**, but cannot discover schemas from it or create datastores with it.

### Permission Flow Summary

```mermaid
graph TD
    A[User initiates multi-schema flow] --> B{Has Manager role?}
    B -->|No| C[Access denied]
    B -->|Yes| CU{Saved connection already<br/>used by a datastore?}
    CU -->|No| D[Discover catalogs & schemas]
    CU -->|Yes| CE{Admin or Editor on one of<br/>those datastores?}
    CE -->|No| CX[Access denied]
    CE -->|Yes| D
    D --> E[Validate selected schemas]
    E --> F[Bulk create datastores]
    F --> G{User has Editor permission<br/>in assigned teams?}
    G -->|No| H[Creation fails:<br/>Insufficient permissions]
    G -->|Yes| I[Datastores created successfully]
    I --> J{Link enrichment?}
    J -->|Yes| K{Member role +<br/>Editor team permission?}
    K -->|No| M[Link fails:<br/>Insufficient permissions]
    K -->|Yes| L[Enrichment linked]
    J -->|No| L
    L --> N[Done]
```

## UI Behavior Without Permission

| Scenario | What the user sees |
| --- | --- |
| User is below the **Manager** role | Datastore creation is unavailable. Both single-datastore and multi-schema creation require Manager or Admin. |
| User has the **Manager** role but no **Editor** team permission in any team assigned to the new datastore | Creation is refused because the user has no Editor access in an assigned team. |
| User has the **Manager** role but no **Editor** team permission on any datastore that uses the selected connection | Discovering catalogs and schemas, validating schemas, and creating datastores from that connection are refused with a permission error. |
| User has the **Member** user role but no team access to the datastore | Cannot see the datastore at all: it does not appear in any list. |

> **Info: Full Permissions Reference**
>
> For the complete permissions and roles matrix across all Qualytics features, see the [Team Permissions](https://userguide.qualytics.io/settings/access/teams/team-permissions/overview/) page.

---

## See Also

- **How It Works**

  How a datastore maps to your storage, the layers behind it, the lifecycle, and the Timeline.

  [How It Works](https://userguide.qualytics.io/source-datastore/datastore/deep-dive/how-it-works/)
- **Connection**

  How a connection holds the credentials that one or more datastores share.

  [Connection](https://userguide.qualytics.io/source-datastore/datastore/deep-dive/connection/)
- **Multiple-Schema**

  Create one datastore per schema or folder from a single connection.

  [Multiple-Schema](https://userguide.qualytics.io/source-datastore/datastore/deep-dive/multiple-schema/)
- **Supported Connectors**

  Every connector by family, with its enrichment support and multi-schema fields.

  [Supported Connectors](https://userguide.qualytics.io/source-datastore/datastore/deep-dive/supported-connectors/)
- **JDBC Connectors**

  How Qualytics reads relational databases and warehouses through JDBC.

  [JDBC Connectors](https://userguide.qualytics.io/source-datastore/datastore/deep-dive/jdbc/)
- **DFS Connectors**

  How Qualytics reads files from cloud object storage and distributed file systems.

  [DFS Connectors](https://userguide.qualytics.io/source-datastore/datastore/deep-dive/dfs/)
- **Native Connectors**

  How Qualytics reads a platform's own storage or API without its query engine.

  [Native Connectors](https://userguide.qualytics.io/source-datastore/datastore/deep-dive/native/)
- **Supported File Formats**

  The file formats DFS datastores read, including compressed variants.

  [Supported File Formats](https://userguide.qualytics.io/source-datastore/datastore/deep-dive/supported-file-formats/)
- **Filename Globbing**

  How DFS datastores group files with similar names into one container.

  [Filename Globbing](https://userguide.qualytics.io/source-datastore/datastore/deep-dive/filename-globbing/)
- **HashiCorp Vault**

  Pull connection credentials from a secrets manager instead of typing them in.

  [HashiCorp Vault](https://userguide.qualytics.io/source-datastore/datastore/deep-dive/hashicorp-vault/)
- **Examples**

  Real scenarios, from onboarding a warehouse to protecting a busy database.

  [Examples](https://userguide.qualytics.io/source-datastore/datastore/deep-dive/examples/)
- **Best Practices**

  Recommendations for scoping datastores, sharing connections, and keeping access tight.

  [Best Practices](https://userguide.qualytics.io/source-datastore/datastore/deep-dive/best-practices/)

*Last updated: November 16, 2026.*
