Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.omni.co/llms.txt

Use this file to discover all available pages before exploring further.

Defines a list of access grants for the dimension, which are used to control access. The values of this parameter must match the name of an access grant in the model file’s access_grants parameter. Refer to the Controlling data access guide for more information and examples. You can also conditionally allow access by using pipes (|) and ampersands (&) to create OR and AND conditions.

Syntax

<dimension_name>:
  required_access_grants: [<grants_and_conditions>]

Properties

dimension_name
object[]
The name of the dimension.

Examples

Define one required access grant
full_name:
  required_access_grants: [marketing]
Grant access if conditions are met for either access grant
full_name:
  required_access_grants: [marketing|sales]
Grant access if conditions are met for marketing OR sales AND product
full_name:
  required_access_grants: [marketing|sales&product]