-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Policy API response parameter rightOperand is wrong #970
Comments
Outcome:
How to test:
|
Successfully tested - approved from my side |
PO acceptance in behalf of @jzbmw |
HI, since this change is not included in the current release, we need to have the latest release from irs included in trace-x. Currently there is no release existing. This has been adressed to @ds-jhartmann which will provide the latest one. For the updates after IRS created the release I will derive a story. |
Hi @ds-crehm please validate. Latest IRS has been installed, therefore this is ready to test. |
Hi @ds-crehm @ds-mwesener is this an IRS Policy Store API Issue or can this be fixed in the trace-foss frontend? |
Hi @ds-jhartmann / @mkanal topic will be adressed by trace-x. @ds-mmaul will fix this issue. |
…se-rightOperand-fix bug(policy): 970 fix hidden right operand
Blocked by #1173
Description
IRS Policy Store /irs/policies returns wrong parameter for object type: Constraint.rightOperand.
Current behaviour
{ "validUntil": "2024-09-30T23:59:59.99Z", "payload": { "@context": { "odrl": "http://www.w3.org/ns/odrl/2/" }, "@id": "65797805-e6f4-463d-824e-f7986f5f039f", "policy": { "policyId": "65797805-e6f4-463d-824e-f7986f5f039f", "createdOn": "2024-05-14T15:07:34.653578619Z", "validUntil": "2024-09-30T23:59:59.99Z", "permissions": [ { "action": "USE", "constraint": { "and": [ { "leftOperand": "cx-policy:FrameworkAgreement", "operator": { "@id": "eq" }, "odrl:rightOperand": "traceability:1.0" }, { "leftOperand": "cx-policy:UsagePurpose", "operator": { "@id": "eq" }, "odrl:rightOperand": "cx.core.industrycore:1" } ], "or": null } } ] } }
Expected behavior
rightOperand should not have "odrl:" as prefix.
Steps to reproduce the Bug
Call the irs policy store api.
The text was updated successfully, but these errors were encountered: