Skip to main content
Limits access to rows based on user attributes. When enabled, users will be limited to rows in the topic that match their user attribute value. Refer to the Controlling data access guide for more information.
Omni expects every user to have a non-null value for any assigned access filter. Errors will arise if the user attribute value is null.

Syntax

access_filters:
  - field: "<view_name>.<field_name>"
    user_attribute: "<user_attribute_reference>"
    values_for_unfiltered: ["<value>", ...]
    enable_sql_like_wildcards: true/false

Properties

access_filters
object[]
required
An array of access filter configurations that limit row access based on user attributes.

Examples

Filter by brand_name
access_filters:
  - field: products.brand
    user_attribute: brand_name
    values_for_unfiltered: [all_brands]
    enable_sql_like_wildcards: true