Skip to main content

Allow or deny access with a tag policy

An access tag policy sets, for one tag, which users, groups, and service accounts are allowed or denied each permission. You choose the tag, not a catalog, schema, or table.

Prerequisites​

Create the policy​

  1. In the left sidebar, select Data Security → Tag policies.
  2. Open the Access tab, then select Create access policy.
  3. Enter a Policy name.
  4. In Service binding, select the configured binding, for example tag.
  5. In Tag, select the tag.
  6. Optional: enter a Description that says what the policy is for.

The Service binding list shows only bindings that are already configured. After you select one, a note under the field names the query service of your Lakehouse whose tagged columns the policy may affect. The Tag list fills in only after you select a Service binding.

If a tag already has an access policy, the list shows it as <tag> · Policy of this type exists. When you select it, an Open existing policy link appears. It opens that policy in a new tab.

Add access rules​

Each policy starts with Rule 1 under Access rules.

  1. Select who the rule is for in User, Group, or Service Account. Add at least one.
  2. In Effect, keep Allow or select Deny.
  3. In Privileges, select one or more permissions.
  4. To add another rule, select Add rule and repeat steps 1 to 3.

Create access policy form with a tag, one rule with Effect Deny, and the select permission

The Privileges list shows the permissions your binding supports, each with a technical prefix. For example, the entry ending in select is the permission to read data, and the entry ending in all stands for all permissions.

To delete a rule, select Remove rule in that rule. A policy keeps at least one rule.

Turn the policy on​

  1. Select Active if the policy should apply as soon as you create it. Active is cleared by default.
  2. Select Create.

To leave without saving, select Cancel. You return to the Tag policies list and nothing is created.

Check the policy​

After Create, the portal opens the page of the new policy. On the Access tab of Tag policies, the policy appears in the list. Status shows Active or Inactive, with a sync label under it.

The policy applies to queries within 10 minutes when the system works normally. To follow its progress, open the policy and read Sync status. See Find, edit, and turn off tag policies.

If an action fails​

What you seeWhat it meansWhat to do
A policy of this type already exists for this tag in this scope. at the top of the formThe tag already has an access policy. Your entries are kept.Select Open existing policy and change that policy instead, or choose another tag.
No Create access policy button.Your role can view tag policies but not change them.Ask your Admin for the policy_manager role, or a custom role with governance:tag_policies:write.
The sign-in page.Your session expired.Sign in again. Unsaved entries are lost.

Next steps​