Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions docs/pages/reference/data-model/data-access-policies.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,6 @@ learn more about policy evaluation.

The optional `row_level` parameter, when present, configures [row-level
access][ref-dap-rls] for a policy by specifying `filters` that should apply to result set rows.
You can also use the optional `allow_all` parameter to explicitly allow or disallow all rows.

In the following example, users with the `manager` role are allowed to access only
rows that have the `state` dimension matching the state from the [security context][ref-sec-ctx].
Expand All @@ -299,9 +298,6 @@ cubes:
# ...

access_policy:
- role: "*"
row_level:
allow_all: false

- role: manager
row_level:
Expand All @@ -316,12 +312,6 @@ cube(`orders`, {
// ...

access_policy: [
{
role: `*`,
row_level: {
allow_all: false
}
},
{
role: `manager`,
row_level: {
Expand Down Expand Up @@ -363,4 +353,4 @@ learn more about policy evaluation.
[ref-sec-ctx]: /product/auth/context
[ref-rest-query-filters]: /product/apis-integrations/rest-api/query-format#filters-format
[ref-rest-query-ops]: /product/apis-integrations/rest-api/query-format#filters-operators
[ref-rest-boolean-ops]: /product/apis-integrations/rest-api/query-format#boolean-logical-operators
[ref-rest-boolean-ops]: /product/apis-integrations/rest-api/query-format#boolean-logical-operators