Skip to main content
Defines a list of access grants for the measure, 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 Controllilng 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

<measure_name>:
  required_access_grants: [<grants_and_conditions>]

Properties

measure_name
object[]
The name of the measure.

Examples

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