[Odrl-version2] Core Model: relationship between Action and Duty

ri at odrl.net ri at odrl.net
Thu Nov 11 23:26:34 EST 2010


On 11 Nov 2010, at 20:54, Francis Cave wrote:

> OK, then I do have a problem with this. I think that "an Action can have one Permission" is wrong. There could be several permissions with the same action but with different constraints. Or please explain how the Core Model will enable such multiple constraints to be expressed without needing to use extensions.


You just have many Permissions:

   <o:permission>
        <o:asset uid="urn:the-same-asset"/>
        <o:action name="urn:the-same-action"/>
        <o:constraint name="urn:constraint1" operator="o:eq" rightOperand="foo"/>
        ...
    </o:permission>
   <o:permission>
        <o:asset uid="urn:the-same-asset"/>
        <o:action name="urn:the-same-action"/>
        <o:constraint name="urn:constraint2" operator="o:eq" rightOperand="bar"/>
        ...
    </o:permission>

or am I missing something?

Cheers

Renato Iannella
ODRL Initiative
http://odrl.net





More information about the Odrl-version2 mailing list