- From: Joshua Cornejo <josh@marketdata.md>
- Date: Tue, 03 Sep 2024 13:06:59 +0100
- To: "public-odrl@w3.org Group" <public-odrl@w3.org>
- Message-ID: <412294B1-16A0-4897-96E9-3E6A8365FC15@marketdata.md>
Hi,
Gabriel: - are you doing the mappings from ODRL to Cedar like this example below:
Cedar:
permit ( principal, action == Action::"GetList", resource)
when {
principal in resource.editors || principal in resource.readers
};
ODRL:
ex:refExample1 a odrl:Constraint;
odrl:leftOperand odrl:recipient;
odrl:operator odrl:isPart;
odrl:RightOperand ex:editorSet.
ex:refExample2 a odrl:Constraint;
odrl:leftOperand odrl:recipient;
odrl:operator odrl:isPart;
odrl:RightOperand ex:ReaderSet.
ex:refExample a odrl:LogicalConstraint;
odrl:operand odrl:or;
odrl:list ex:refExample1, ex:refExample2.
ex:actionRefinement a rdf:Property;
rdf:value aws:getList;
odrl:refinement ex:refExample.
ex:permissionExample a odrl:Permisson;
odrl:action ex:actionRefinement.
ex:policyExample a odrl:Offer;
odrl:permission ex:permissionExample.
Regards,
___________________________________
Joshua Cornejo
marketdata
embed open standards
across your supply chain
Received on Tuesday, 3 September 2024 12:07:05 UTC