Databricks Permissions Explained: From Metastore to Jobs
Every request in Databricks passes four layers of permissions, and each layer has its own names, roles and errors. That is why a query can be refused with a message that points at something you did not know you needed, o
Every request in Databricks passes four layers of permissions, and each layer has its own names, roles and errors. That is why a query can be refused with a message that points at something you did not know you needed, or a job can fail although you can read the table yourself. This article lists every permission in each layer as the workspace shows it, using the Azure Databricks documentation for what each one allows, and then follows one request through all four layers. Everything I tested ran with temporary service principals, and the exact errors are in the text. The code and the test results are on GitHub: databricks/permissions/tests.
The four layers at a glance
A "no" at any layer stops the request, and the error usually tells you which layer said no.

The four layers, the question each one answers and where you set it.
Layer 1: Identities and roles
Layer 1 answers who is asking. It has two parts: the kinds of identity that exist, and the roles that give an identity administrative powers.

Identity types and where you manage them.
I tested workspace-local groups. I created a workspace group through the SCIM API and used it in a GRANT. The statement failed with [ErrorClass=PRINCIPAL_DOES_NOT_EXIST.PRINCIPAL_DOES_NOT_EXIST] Could not find principal with name perm-test-group. Unity Catalog does not see a group that exists only in one workspace, so grants and ownership need account groups.

Roles, what each can do and what it cannot do.
Layer 2: Entitlements
Entitlements decide what an identity can do in a workspace at all. The entitlements page says "Entitlements are available only in the Premium plan." (Entitlements). The table lists them in the order the Entitlements tab of a group shows them.

The entitlements in the order the group Entitlements tab shows them.
Admin access is on the tab, but it is not one of the entitlements in the docs and has no API entitlement name: it makes the principal a workspace admin. The docs also list allow-cluster-create and allow-instance-pool-create, which the Entitlements tab of a group does not show.

The Entitlements tab of a group.
The default has changed. The docs describe a behavior where the users group has no entitlements, the admins group has all of them and both are locked, and you choose the entitlements when you add each principal. The migration page gives this timeline: opt-in on 2026-06-15, automatic enabling on 2026-07-27 for workspaces that had not opted in or out, and enforcement for all workspaces on 2026-09-14, which has passed. The docs say it does not apply to Azure Government. The pages disagree: the entitlements page still describes users as holding workspace access and Databricks SQL access, while the groups page and the migration page say it holds none. Check Settings, Advanced, Access control in your own workspace to see which behavior it shows.
I tested the entitlement that matters most for queries. A service principal with only workspace-access that called the SQL API got HTTP 403:
This API is disabled for users without the databricks-sql-access or workspace-consume entitlements. Contact your administrator for more information.
After I added databricks-sql-access, the token it already held kept getting the same 403. A token issued after the change worked, and a service principal created with the entitlement worked on its first token. After you change an entitlement, get a new token.
A workspace admin has all the entitlements and still no data access. A test service principal in the admins group failed with does not have USE CATALOG on Catalog with no Unity Catalog privileges, with does not have SELECT on Table once it had USE CATALOG and USE SCHEMA, and with PERMISSION_DENIED: Principal '<name>' does not have MANAGE on Table '<catalog>.<schema>.<table>'. when it tried to grant itself SELECT.
Layer 3: Unity Catalog privileges
Layer 3 decides which data an identity can touch. I follow the Grant dialog in Catalog Explorer, because it is where you set these privileges and it groups them in a way the docs do not.
Securables and inheritance
Privileges are granted on securables: the metastore, catalogs, schemas, tables, views, volumes, functions, models and more. A privilege granted on a catalog or schema is inherited by the objects below it, including objects created later. To read a table you need three keys: USE CATALOG on the catalog, USE SCHEMA on the schema and SELECT on the table, directly or by inheritance. I tested inheritance: a table created after GRANT SELECT ON SCHEMA was readable at once (1 row). Grants on the metastore do not inherit, except READ METADATA.
When you open the Permissions tab of a table, the Inherited filter shows where each grant comes from. The screenshot is filtered to "Inherited from schema".

A table Permissions tab filtered to grants inherited from the schema. The principal is a temporary test service principal.
Where you grant
In Catalog Explorer, open the object, select the Permissions tab and choose Grant. The grid has the columns Principal, Privilege and Object. The Inherited filter has four options: Inherited from metastore, Inherited from catalog, Inherited from schema and Only this object.

The Grant dialog of a catalog.
Every privilege in the Grant dialog
The tables below follow the groups of the catalog Grant dialog, in its order. "What it allows" is one line from the privileges reference. The last two columns tell you whether the privilege also appears on the schema dialog and on the table dialog. Seven privileges are in the dialog but not described in the reference, and the tables say so. Beta is the label the dialog shows.
Prerequisite
Nothing else works without these two.

The Prerequisite group of the catalog Grant dialog.
Metadata
These help people find and tag objects without reading data.

The Metadata group of the catalog Grant dialog.
Read
What most analysts need.

The Read group of the catalog Grant dialog.
Edit
Lets the group change data and files in existing objects.

The Edit group of the catalog Grant dialog.
Create
Lets the group add objects of that type.

The Create group of the catalog Grant dialog.
Below the groups
These four sit under the groups. Their descriptions are the ones the dialog itself shows:
-
ALL PRIVILEGES: "gives all privileges". -
EXTERNAL USE SCHEMA: "gives ability to access objects from external engines". -
MANAGE: "gives ownership-like ability for the object, such as managing permissions, dropping, or renaming". -
READ METADATA: "gives ability to view all metadata for an object, including permissions and policies".
The privileges reference adds that ALL PRIVILEGES excludes EXTERNAL USE SCHEMA, EXTERNAL USE LOCATION, MANAGE and READ METADATA. The schema dialog shows ALL PRIVILEGES, MANAGE and READ METADATA, and the table dialog shows the same three. Neither shows EXTERNAL USE SCHEMA, although the reference lists it for schemas.
Presets on the schema dialog
The schema dialog has a preset menu: Data Reader, Data Editor and Custom. The docs do not mention presets. A preset ticks a fixed set of boxes, and you can still change them.

Privilege presets on the schema Grant dialog.

The preset menu of the schema Grant dialog.
The Data Reader preset does not tick USE CATALOG. You add it from the Prerequisite group of the catalog dialog.
The table dialog
The table dialog has a short list and no presets: APPLY TAG, DELETE (Beta), INSERT (Beta), MODIFY, SELECT, UPDATE (Beta), ALL PRIVILEGES, MANAGE and READ METADATA.
Privileges on other securables
Some securables sit outside the catalog tree and have their own privileges. The table is from the privileges reference, not from the dialog.

Privileges on securables outside the catalog tree.
What I tested
Ownership. Every securable has an owner, and the principal that creates an object becomes its owner. Ownership does not inherit downward. An owner can do everything on the object without an explicit grant, and SHOW GRANTS does not list it: for a table I made a service principal the owner of, SHOW GRANTS ON TABLE returned nothing. The owner still needed USE CATALOG and USE SCHEMA. Without them it got does not have USE CATALOG on Catalog. With those two only, it could SELECT and INSERT on its own table and could not read a table it does not own (does not have SELECT on Table). The docs disagree with themselves here. The row "Requires usage privileges" in the permissions concepts table says "No" for the owner, and the sentence after the table says owners and users with MANAGE "need the appropriate usage privileges on the object's parent containers, but not on the object itself". My test agrees with the sentence.
MANAGE. It lets you manage privileges on an object, transfer its ownership and delete it without being the owner. "Users with MANAGE are not automatically granted all privileges on the object", although they "can explicitly grant themselves these privileges". I tested the other side: a workspace admin without MANAGE could not grant itself SELECT.
BROWSE. It lets you see that an object exists and read its basic metadata, with no data access. It needs a request that asks for it. In the REST API, listing the tables as a principal with only BROWSE failed with HTTP 403 PERMISSION_DENIED ... does not have USE CATALOG until the request used include_browse=true. Then it returned the four table names, and one table showed its 3 columns with browse_only: true. A SQL query on information_schema.tables with only BROWSE failed with does not have USE CATALOG on Catalog, and with BROWSE, USE CATALOG and USE SCHEMA but no SELECT the data query failed with does not have SELECT on Table.
Workspace bindings. A catalog, a storage credential or an external location can be bound to specific workspaces. The default is open: accessible from all workspaces in the metastore. Only catalogs can be bound read-only. A metastore admin, the owner or a principal with MANAGE sets the bindings. I did not test them.
Row filters and column masks. I set a row filter (region = 'North') and a column mask on a copy of the table. A service principal with SELECT only saw 2 rows, both North, with the amount column NULL. The owner also saw only 2 rows, with the amounts visible (900.00 and 500.00): the filter applies to the owner too, and the mask function decides who sees values. The docs say you cannot apply row filters or column masks to a view.
ABAC. Attribute-based access control policies are created with CREATE POLICY and need MANAGE or ownership at the level where you attach them. I did not test them. The docs label policies on views Beta, and they label metastore-level policies, identity and context attributes and DENY policies Beta. Row filter and column mask policies on tables carry no label. You cannot apply ABAC policies to metric views.
Layer 4: Workspace object permissions
Workspace objects have access control lists. Jobs and SQL warehouses are in the order the Permissions dialog shows them, with its labels. That order is not always lowest to highest: the warehouse dialog shows Can use, Can view, Can monitor and Can manage, while the docs rank CAN USE above both CAN VIEW and CAN MONITOR. The warehouse dialog also has no Is Owner, which the docs list. The other object types are in one matrix in the order of the access control lists page. Every object type except secret scopes also has NO PERMISSIONS as its first level.
Workspace admins have CAN MANAGE on all objects in their workspace, and users have CAN MANAGE on the objects they create. "Objects in a folder inherit all permissions settings of that folder": a user with CAN RUN on a folder has CAN RUN on the alerts in it, which is the example the docs give. Jobs and pipelines in workspace folders need the Jobs & Pipelines in folders preview, and CAN EDIT on them is Beta.
Who can change the owner depends on the object, and the docs are specific. Jobs: "Only workspace admins can edit the job owner." Dashboards: "Only workspace admins can change ownership of a dashboard." Queries: "You must be a workspace admin to transfer ownership of a query." Alerts: "A workspace admin user can transfer ownership of an alert to a different user." Pipelines: "To change a pipeline's owner, you must be both a metastore admin and a workspace admin."
Jobs
The job dialog shows Can View, Can Manage Run, Can Manage and Is Owner. CAN EDIT (Beta) is available only for jobs in workspace folders, when the Jobs & Pipelines in folders preview is enabled. My test job was created through the API without a folder path, and the dialog did not show CAN EDIT.

Jobs: permission levels in the order of the Permissions dialog in my workspace.
I tested the lowest level. A principal with CAN VIEW on a job got HTTP 403 on run-now: User <id> does not have Manage Run or Owner or Admin permissions on job <id>. The same principal could read the job (HTTP 200).

The permission dropdown of a job.
SQL warehouses

SQL warehouses: permission levels in the order of the Permissions dialog in my workspace.

The permission dropdown of a SQL warehouse.
Other object types

Permission levels by object type. Columns are grouped by level name, so the order within one object type can differ from the docs.
Notes on the matrix:
- Dashboard
CAN VIEWisCAN READin the API. - For a Genie Agent,
CAN VIEWandCAN RUNgrant the same abilities. -
CAN VIEWon compute is Beta and needs the "Can view compute permission" preview. - Folders list
CAN EDITbeforeCAN RUNin the docs.
Putting it together: one request, four questions
An analyst opens a dashboard that reads a table.
- Who? The analyst is a user in the account and a member of a group such as
analysts. The group is what the grants are given to (layer 1 tables). - What can they do here? The analyst needs a workspace entitlement. Databricks SQL access lets them use dashboards and query SQL warehouses, and Consumer access covers resources they already have permission to (layer 2 table).
- Which data? The data privileges are
USE CATALOGon the catalog,USE SCHEMAon the schema andSELECTon the table, directly or inherited (layer 3 tables). - What can they do with the dashboard? They need
CAN VIEW(the API calls itCAN READ) on the dashboard (layer 4 matrix). The dashboard runs on compute through its publisher's credentials, so the analyst doesn't need their own warehouse permission to view it.
I ran the same query as a test service principal and added one thing at a time. The errors, in order:
HTTP 403 This API is disabled for users without the databricks-sql-access or workspace-consume entitlements. Contact your administrator for more information.
[INSUFFICIENT_PERMISSIONS] Insufficient privileges: Principal '<name>' does not have USE CATALOG on Catalog '<catalog>'. SQLSTATE: 42501
[INSUFFICIENT_PERMISSIONS] Insufficient privileges: Principal '<name>' does not have USE SCHEMA on Schema '<catalog>.perm_demo'. SQLSTATE: 42501
[INSUFFICIENT_PERMISSIONS] Insufficient privileges: Principal '<name>' does not have SELECT on Table '<catalog>.perm_demo.sales'. SQLSTATE: 42501
Success: 4 rows
The permission on the warehouse sits between the entitlement and the data. I could not show its error, because the users group has CAN USE on the starter warehouse by default and admins has CAN MANAGE, and I did not change the shared warehouse.
Genie Agents
A Genie Agent uses two credentials: the compute of the author who configured it, and the end user's own Unity Catalog identity for data. A question about data the user cannot read returns an empty response. I did not test Genie Agents.
A job runs as an identity, not as the person who starts it
A job has two sets of permissions: job permissions decide who can view, run and manage it, and the run as identity decides what it can read. The creator is the run as identity by default. I tested it with a service principal that created a notebook job, so the job ran as that principal. With USE CATALOG and USE SCHEMA but no SELECT, the run failed with does not have SELECT on Table '<catalog>.perm_demo.sales'. After SELECT was granted to the run as principal, the next run succeeded. Grant data privileges to the identity that runs the job.
To change run as, you need CAN MANAGE or IS OWNER on the job, and the service principal user role on the service principal. Someone who edits a job's tasks changes the code that runs with the run as identity's privileges.
Dashboard credentials
A published dashboard has two credential options. With Share data permissions (the default), viewers run queries with the publisher's data permissions, which "might expose data to users who have not been granted direct access to it". With Individual data permissions, viewers run queries with their own credentials and need access to the data. Compute always comes from the publisher's credentials. Row filters and column masks apply per viewer only with Individual data permissions. I did not test dashboard credentials.
Set up a new analyst
- Add the analyst to an account group such as
analysts, and give the group Databricks SQL access. - On the catalog Grant dialog, give the group
USE CATALOGfrom the Prerequisite group. - On the schema Grant dialog, pick the Data Reader preset for the group. It grants
SELECTon every table in the schema, plusEXECUTEandREAD VOLUME, which is broader than a grant on one table. - Give the group
CAN VIEWon the dashboard, andCAN USEon the warehouse if they will run their own queries.
Troubleshooting checklist
Check the layers in this order.
- Identity: is the principal in an account group? Workspace-local groups fail in
GRANT. - Entitlement: HTTP 403
This API is disabled for users without the databricks-sql-access or workspace-consume entitlements. Add the entitlement, then get a new token. - Compute: check
CAN USEon the warehouse orCAN ATTACH TOon the cluster. -
USE CATALOG:does not have USE CATALOG on Catalog. -
USE SCHEMA:does not have USE SCHEMA on Schema. -
SELECT, direct or inherited:does not have SELECT on Table. RunSHOW GRANTSon the table, its schema and its catalog. - Workspace binding: the catalog is bound to other workspaces.
- Row filter or column mask: you see fewer rows or
NULLvalues, with no error. - Whose identity reads: for a job, the run as identity. For a dashboard, the credential option.
- Object permission:
CAN VIEWon a job does not run it.
Things to know
- Entitlements, privileges and object permissions are separate. Having one does not give you the others.
- A workspace admin is not a data admin. Give data privileges through Unity Catalog.
- Grant to account groups, not to users. A workspace-local group fails in
GRANT. - Grant
USE CATALOGandUSE SCHEMAto owners too. The documentation is inconsistent about this, and the test shows they are needed. - After you change an entitlement, get a new token.
- Run jobs as service principals, and give them only the data privileges the job needs.
- Grant high in the tree only on purpose, because a grant on a catalog or schema covers every current and future object below it. Use
MANAGEfor people who administer an object andALL PRIVILEGESsparingly. - Pass
include_browse=trueto seeBROWSEobjects through the API. - Row filters apply to owners too.
- When access is unexpected, run
SHOW GRANTSon the object, its schema and its catalog.
Summary
Every Databricks request passes four layers: identity, entitlements, Unity Catalog privileges and object permissions. A no at any layer stops it, and the error usually names the layer. Check them in order, and give a job or dashboard the privileges of the identity that runs it.
Which layer causes most of your permission errors?
References
- Users, groups and service principals
- Entitlements
- Unity Catalog privileges and securable objects
- Manage privileges in Unity Catalog
- Limit catalog access to specific workspaces
- Row filters and column masks
- Access control lists
- Jobs privileges and run as
- Share a dashboard
- Unity Catalog permissions concepts
- Workspace entitlements migration
- Groups
- Set up Genie Agents
- Queries
- Manage alerts
- Lakeflow pipeline permissions
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.
