Skip to content

Commit 4dfbe46

Browse files
authored
fix(docs): Correct indentation in documented example for access_policy (#3652)
`access_policy` needs to be inside the `auth` section in config; this PR corrects indentation in a documented example of configuring that section.
1 parent bcdbb53 commit 4dfbe46

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

docs/docs/distributions/configuration.mdx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -509,16 +509,16 @@ server:
509509
provider_config:
510510
type: "github_token"
511511
github_api_base_url: "https://api.github.com"
512-
access_policy:
513-
- permit:
514-
principal: user-1
515-
actions: [create, read, delete]
516-
description: user-1 has full access to all resources
517-
- permit:
518-
principal: user-2
519-
actions: [read]
520-
resource: model::model-1
521-
description: user-2 has read access to model-1 only
512+
access_policy:
513+
- permit:
514+
principal: user-1
515+
actions: [create, read, delete]
516+
description: user-1 has full access to all resources
517+
- permit:
518+
principal: user-2
519+
actions: [read]
520+
resource: model::model-1
521+
description: user-2 has read access to model-1 only
522522
```
523523

524524
Similarly, the following restricts access to particular kubernetes

0 commit comments

Comments
 (0)