Fine-grained control over Data Pool access with column and row-level rules
Access Policies determine which rows and columns of a Data Pool are accessible. They can have multiple rules, including row-level rules with static or dynamic values.
Follow these steps to create an Access Policy via the Console:
Column-level rules define which specific columns of a Data Pool are accessible.
Column-level rule configuration in the Console
Column-level rule configuration in the Console
To grant access to all columns, use the wildcard "*"
:
Configuring access to all columns
Configuring access to all columns
Row-level rules determine which specific rows of a Data Pool are accessible.
Row-level rule configuration
Row-level rule configuration
For more flexible policies, you can use dynamic values from the JWT token in row-level rules:
Dynamic row-level rule configuration
Dynamic row-level rule configuration
For a deep dive into dynamic values and building multi-tenant applications, refer to our Multi-tenant JWT Tokens guide.
Access Policies are assigned to Applications to enforce data access controls.
Access Policy Relationships
A Data Pool can have multiple Policies, each assigned to multiple Applications. An Application can have at most one Policy per Data Pool.
Key points to remember:
Metrics automatically inherit Access Policies from their parent Data Pool. An Application can only query a Metric if its Access Policy permits access to all columns used in that Metric’s definition.
Fine-grained control over Data Pool access with column and row-level rules
Access Policies determine which rows and columns of a Data Pool are accessible. They can have multiple rules, including row-level rules with static or dynamic values.
Follow these steps to create an Access Policy via the Console:
Column-level rules define which specific columns of a Data Pool are accessible.
Column-level rule configuration in the Console
Column-level rule configuration in the Console
To grant access to all columns, use the wildcard "*"
:
Configuring access to all columns
Configuring access to all columns
Row-level rules determine which specific rows of a Data Pool are accessible.
Row-level rule configuration
Row-level rule configuration
For more flexible policies, you can use dynamic values from the JWT token in row-level rules:
Dynamic row-level rule configuration
Dynamic row-level rule configuration
For a deep dive into dynamic values and building multi-tenant applications, refer to our Multi-tenant JWT Tokens guide.
Access Policies are assigned to Applications to enforce data access controls.
Access Policy Relationships
A Data Pool can have multiple Policies, each assigned to multiple Applications. An Application can have at most one Policy per Data Pool.
Key points to remember:
Metrics automatically inherit Access Policies from their parent Data Pool. An Application can only query a Metric if its Access Policy permits access to all columns used in that Metric’s definition.