Provide Resource permissions to Developers
Grant a Data Developer the Can Use permissions their Data Product needs: Compute, a Snowflake Depot, its linked Secret, and a Cluster.
Overview
A Data Developer is building a Data Product that reads from a Snowflake Depot, runs on a shared Compute, and queries through a Minerva Cluster. They can sign in and hold the Data Developer role, but by default they hold no access to any of those resources. Access is denied until it is granted. Creating a resource never grants the right to use it.
As the Tenant Admin, grant the matching Can Use on each dependency the product touches. Grant no more than required. Each dependency is granted separately. Access to the Snowflake Depot does not extend to the Secret it is linked to, the Compute it runs on, or the Cluster it queries through. Miss one and the workload fails at runtime with an access error that looks unrelated to the missing grant.
By the end of this recipe, the developer holds four grants: Can Use on the Compute, Depot, Depot's linked Secret, and Cluster. They can build, run, and publish the product with approved resources only.
Before you begin
Steps
1. List the product's dependencies
Before granting anything, write down every resource the workload touches and the exact permission each one needs. Access to a workload does not cascade to its dependencies. DataOS evaluates each one on its own.
For this product:
Shared Compute
The product's workload runs on it
Can Use Compute
Snowflake Depot
The product reads source data from it
Can Use Depot
Secret linked to the Depot
Authenticates the Depot to Snowflake
Can Use Secret
Minerva Cluster
The product queries through it
Can Use Cluster
2. Open the first resource's Access tab
Grants are issued per resource, from the resource itself:
Open the Resource Catalog.
Search for the resource by name. Start with the shared Compute.
Open it and go to the Access tab. This lists who currently has access and at what level.
3. Grant Can Use
On the Access tab, click Grant Permissions, then:
Under Grant to, choose Users or Roles.
Roles grants to every user holding that Tenant Role. Prefer this when the access is standard for everyone in the role.
Users grants to one person. Use it for one-off access.
Search and select the role or user to grant to.
Choose
Can Use. The three levels differ:Can Use: reference the resource in a Data Product workload. This is what a developer building a product needs.Can Edit: change the resource's configuration. Not needed here.Can Manage Access: grant the resource onward to others. Not needed here.
Confirm the grant.

4. Repeat for every dependency: include the linked Secret
Go back to the Resource Catalog and repeat step 3 for each remaining dependency:
Can Use Depoton the Snowflake DepotCan Use Secreton the Secret linked to that DepotCan Use Clusteron the Cluster used for querying
Each grant covers one resource and one action. Four dependencies means four grants. Do not stop after the Depot. The linked Secret and Cluster are separate resources. Each needs its own Can Use.
5. Confirm the developer can build and run
Ask the developer to build, run, and publish the product. With all four grants in place, the workload can reach every dependency it needs.
To verify from your side, open each resource's Access tab again and confirm the developer (or their role) appears with Can Use. If the workload still fails, the error usually names the resource missing a grant. Check it against your list from step 1.
6. For the deployed product, prefer a runtime identity (optional)
The grants above let the developer build and run the product interactively. Once the product is deployed and running unattended, avoid tying it to a person's grants. A developer moving teams should not break a production product.
Instead, give the product a stable runtime identity (an ApplicationUser referenced through runAsUser) that holds the Can Use grants itself. The product then runs under that identity, and no per-user grants are needed at runtime. See How to set a Data Product's runtime identity.
Troubleshooting
Workload fails reading the Depot, even though Can Use Depot is granted
The Depot's linked Secret was not granted
Grant Can Use Secret on the Secret the Depot references (step 4)
Developer can't run the product on the shared Compute
Can Use Compute is missing. Creating or holding another grant never implies use access
Grant Can Use Compute on that Compute
Developer can see data but can't query it through Workbench
Can Use Cluster missing
Grant Can Use Cluster on the Minerva Cluster
You granted access but the developer is still blocked
Granted at the wrong level (Can Manage Access or Can Edit instead of Can Use), or to the wrong identity
Re-check the Access tab; Can Manage Access does not include the right to use the resource
You can't grant on a resource
The resource is in a different Tenant, or you lack Can Manage Access on it
Grant from within the owning Tenant; a Tenant Admin holds Can Manage Access on that Tenant's resources by default
Deployed product breaks after the developer changes teams
The product runs under the developer's personal grants
Move the product to a runtime identity (step 6)
References
Access control: the full model, including levels, roles, permissions, grants, and dependencies.
Roles & Permissions: Tenant role capabilities and the
Can Use/Can Edit/Can Manage Accessreference.Resource-level permissions: permissions for each resource type.
Manage access: the Tenant Admin's grant and onboarding workflow.
How to set a Data Product's runtime identity: use a stable identity instead of per-user grants.
Last updated
Was this helpful?