Issues with policies using Summary Credentials constraints #626
-
What is the correct way of creating Access Policies based on Consumer Summary Credentials? These are the steps I tried to create the offer:
I expect that offer should not be displayed to the consumer, if the consumer does not have the SC However, when testing this, I can still see the offer in the catalog, even though I do not have the SC Context InformationsI could not create the policies as described here: https://github.com/eclipse-tractusx/ssi-docu/blob/main/docs/architecture/cx-3-2/edc/policy.definitions.md#4-policy-example This is the policy I created which is then also displayed correctly in the catalog:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
one problem here is, that during expansion, the entire "@context": [
{
"odrl": "http://www.w3.org/ns/odrl/2/"
},
{"@vocab": "https://w3id.org/edc/v0.0.1/ns/"}
]
//... I can highly recommend trying out the JSON-LD Playground to see what's happening. Inputting the example you posted, the expansion yields an empty array [edit]: please note also this issue which may be related. |
Beta Was this translation helpful? Give feedback.
-
can you try with Let us know if this works Thanks |
Beta Was this translation helpful? Give feedback.
Hi @ds-jhartmann
can you try with
FrameworkAgreement.traceability
as leftOperand instead ofTraceability
The framework agreement policy docs should be herehttps://github.com/eclipse-tractusx/ssi-docu/blob/main/docs/architecture/cx-3-2/edc/policy.definitions.md#35-traceability
Let us know if this works
Thanks