Skip to content

Commit

Permalink
Update 02_policies.md
Browse files Browse the repository at this point in the history
The let all pass policy was not working. Specifically the policy type "Policy" resulted in an error when creating the policy. Also the policy definition was inconsistent to the other policies on this page.
  • Loading branch information
gerbigf authored Dec 17, 2024
1 parent 24e2abe commit e813ffa
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions docs/usage/management-api-walkthrough/02_policies.md
Original file line number Diff line number Diff line change
Expand Up @@ -327,16 +327,19 @@ that the EDC interprets policies it can't evaluate as true by default. A couple

```json
{
"@context": {
"odrl": "http://www.w3.org/ns/odrl/2/"
},
"@context": [
"http://www.w3.org/ns/odrl.jsonld",
{
"@vocab": "https://w3id.org/edc/v0.0.1/ns/"
}
],
"@type": "PolicyDefinition",
"@id": "{% uuid 'v4' %}",
"@id": "{{POLICY_ID}}",
"policy": {
"@type": "Policy",
"odrl:permission": [
"@type": "Set",
"permission": [
{
"odrl:action": "use"
"action": "use"
}
]
}
Expand Down

0 comments on commit e813ffa

Please sign in to comment.