Skip to content

Commit b3913cd

Browse files
AvilaJuliomarianore-muttdata
authored andcommitted
docs: fix incorrect allow_all reference (cube-js#9475)
1 parent c99895b commit b3913cd

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

docs/pages/reference/data-model/data-access-policies.mdx

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,6 @@ learn more about policy evaluation.
285285

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

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

301300
access_policy:
302-
- role: "*"
303-
row_level:
304-
allow_all: false
305301

306302
- role: manager
307303
row_level:
@@ -316,12 +312,6 @@ cube(`orders`, {
316312
// ...
317313

318314
access_policy: [
319-
{
320-
role: `*`,
321-
row_level: {
322-
allow_all: false
323-
}
324-
},
325315
{
326316
role: `manager`,
327317
row_level: {
@@ -363,4 +353,4 @@ learn more about policy evaluation.
363353
[ref-sec-ctx]: /product/auth/context
364354
[ref-rest-query-filters]: /product/apis-integrations/rest-api/query-format#filters-format
365355
[ref-rest-query-ops]: /product/apis-integrations/rest-api/query-format#filters-operators
366-
[ref-rest-boolean-ops]: /product/apis-integrations/rest-api/query-format#boolean-logical-operators
356+
[ref-rest-boolean-ops]: /product/apis-integrations/rest-api/query-format#boolean-logical-operators

0 commit comments

Comments
 (0)