Skip to main content
Each grant targets a user attribute. Users will be granted access if their corresponding user attribute has any of the values specified in the grant. Access grants are only applied to direct access and queries, meaning they don’t impact references within the model. For example, if a user can’t see field a but can see field b, and b references a, the user can still access and query using field b. Once defined, access grants can be set for topics and fields with the required_access_grants parameter.

Syntax

Properties

object
required
A map of access grant objects where each key is the name of a grant. Grant names must be unique.

Examples

Grant access for California and Pennsylvania regions
Grant access for user group