Skip to main content

effective_grants

Creates, updates, deletes, gets or lists an effective_grants resource.

Overview

Nameeffective_grants
TypeResource
Iddatabricks_workspace.unitycatalog.effective_grants

Fields

The following fields are returned by SELECT queries:

The effective permissions list for securable was successfully retrieved.

NameDatatypeDescription
principalstring
privilegesarray

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
geteffectiveselectdeployment_nameGets the effective permissions for a securable.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
deployment_namestringThe Databricks Workspace Deployment Name (default: dbc-abcd0123-a1bc)

SELECT examples

Gets the effective permissions for a securable.

SELECT
principal,
privileges
FROM databricks_workspace.unitycatalog.effective_grants
WHERE deployment_name = '{{ deployment_name }}' -- required;