Skip to content

Commit

Permalink
Fix json format doc for slots in templates (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
john-h-kastner-aws authored Feb 28, 2025
1 parent afd1077 commit 50bd6eb
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/collections/_policies/json-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ The `op` key is required. The `op` object must have one of the following string
```json
"principal": {
"op": "==",
"slot": { "?principal" }
"slot": "?principal"
},
```
Expand Down Expand Up @@ -211,7 +211,7 @@ The `op` key is required. The `op` object must have one of the following string
```json
"principal": {
"op": "in",
"slot": { "?principal" }
"slot": "?principal"
},
```
Expand Down Expand Up @@ -277,7 +277,7 @@ The `op` key is required. The `op` object must have one of the following string
"op": "is",
"entity_type": "User",
"in": {
"slot": { "?principal" }
"slot": "?principal"
}
},
```
Expand Down Expand Up @@ -453,7 +453,7 @@ The `op` object must have one of the following string values:
```json
"resource": {
"op": "==",
"slot": { "?resource" }
"slot": "?resource"
},
```
Expand Down Expand Up @@ -495,7 +495,7 @@ The `op` object must have one of the following string values:
```json
"resource": {
"op": "in",
"slot": { "?resource" }
"slot": "?resource"
}
```
Expand Down Expand Up @@ -561,7 +561,7 @@ The `op` object must have one of the following string values:
"op": "is",
"entity_type": "file",
"in": {
"slot": { "?resource" }
"slot": "?resource"
}
},
```
Expand Down Expand Up @@ -1177,7 +1177,7 @@ Here is the JSON representation of this policy set, plus a template-linked polic
},
"resource": {
"op": "in",
"slot": { "?resource" }
"slot": "?resource"
},
"conditions": []
}
Expand Down

0 comments on commit 50bd6eb

Please sign in to comment.