Skip to content

Commit

Permalink
chore(fix): fixed irs policies
Browse files Browse the repository at this point in the history
  • Loading branch information
saudkhan116 committed Jul 24, 2024
1 parent 08ab195 commit 3047749
Showing 1 changed file with 23 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ item-relationship-service:
catalog:
acceptedPolicies: >
[{
"policyId": "default-policy",
"policyId": "dpp-policy-id",
"createdOn": "2024-07-17T16:15:14.12345678Z",
"validUntil": "9999-01-01T00:00:00.00000000Z",
"permissions": [
Expand All @@ -261,32 +261,46 @@ item-relationship-service:
"constraint": {
"and": [
{
"leftOperand": "https://w3id.org/catenax/policy/FrameworkAgreement",
"leftOperand": "https://w3id.org/catenax/policy/Membership",
"operator": {
"@id": "eq"
},
"rightOperand": "CircularEconomy:1.0"
"rightOperand": "active"
},
{
"leftOperand": "https://w3id.org/catenax/policy/UsagePurpose",
"operator": {
"@id": "eq"
},
"rightOperand": "cx.core.digitalTwinRegistry:1"
},
"rightOperand": "cx.circular.dpp:1"
}
]
}
}
]
},
{
"policyId": "default-policy",
"createdOn": "2024-07-17T16:15:14.12345678Z",
"validUntil": "9999-01-01T00:00:00.00000000Z",
"permissions": [
{
"action": "use",
"constraint": {
"and": [
{
"leftOperand": "https://w3id.org/catenax/policy/UsagePurpose",
"leftOperand": "https://w3id.org/catenax/policy/Membership",
"operator": {
"@id": "eq"
},
"rightOperand": "cx.circular.dpp:1"
"rightOperand": "active"
},
{
"leftOperand": "cx-policy:Membership",
"leftOperand": "https://w3id.org/catenax/policy/UsagePurpose",
"operator": {
"@id": "eq"
},
"rightOperand": "active"
"rightOperand": "cx.core.digitalTwinRegistry:1"
}
]
}
Expand Down

0 comments on commit 3047749

Please sign in to comment.