Skip to content
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

Remove LogicalConstraint from Usage Policy Example #12

Closed
matgnt opened this issue Feb 23, 2024 · 1 comment
Closed

Remove LogicalConstraint from Usage Policy Example #12

matgnt opened this issue Feb 23, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@matgnt
Copy link
Contributor

matgnt commented Feb 23, 2024

As discussed in our meeting last week, I think we should remove the LogicalConstraint -> and from the Usage Policy example. This is not required since we crurrently don't want to have, the other possible LogicalConstraints like or, xone, andSequence as defined here: https://www.w3.org/TR/odrl-model/#constraint-logical

with

"constraint": {
        "and": [
             {
              "leftOperand": "cx-policy:FrameworkAgreement",
              "operator": "eq",
              "rightOperand": "traceability:v1.0"
            },
            ...
         ]
      }

without

"constraint": [
             {
              "leftOperand": "cx-policy:FrameworkAgreement",
              "operator": "eq",
              "rightOperand": "traceability:v1.0"
            },
            ...
        ]

Both are valid ODRL and both have the same meaning. Since we don't want to support the other LogicalConstraints, it is easier to understand to just remove the additional layer.
@jimmarino can you please have a look?
Thanks,
Matthias

@matgnt
Copy link
Contributor Author

matgnt commented Feb 23, 2024

closing this as discussed in eclipse-tractusx/tractusx-edc#856 (comment)
It is important what is desired in tx-edc.
ODRL may allow this, but we'll not explain this and use it in Cx as it seems.

@matgnt matgnt closed this as completed Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant