[Odrl-version2] Party constraints

Francis Cave francis at franciscave.com
Fri Nov 19 01:37:28 EST 2010


If you have the exact same Action in both Permission and Prohibition, then
the Perm will win out.

But in your case, the Action in the Prohibition is further constrained
(hence, not the same) so there is actually no conflict to trigger.

 

This is an important point that is not explained anywhere in the Core Model.
In what circumstances can a conflict be triggered? Here is the example I was
thinking of:

 

<o:policy

  xmlns:o="http://odrl.net/2.0"

  xmlns:a="http://assigner.com/identifiers"

  type="o:set"

  inheritAllowed="true"

  conflict="prohibit">

    <o:permission>

        <o:role uid="a:anyParty" function="o:assignee"/>

        <o:action name="o:distribute"/>

    </o:permission>

    <o:permission>

        <o:role uid="a:party_A" function="o:assignee"/>

        <o:action name="o:distribute"/>

        <o:constraint

          name="o:media"

          operator="o:neq"

          rightOperand="a:online"/>

    </o:permission>

</o:policy>

 

The intention here is to express that only Party A is prohibited from
distributing the asset online. The first permission allows everyone else to
distribute the asset in any fashion. The second permission allows Party A to
distribute the asset in any fashion EXCEPT online.

 

My assumption had been that one has to specify how to resolve the conflict
between the fact that the first permission says that Party A is permitted to
distribute the asset online, while the second permission says that Party is
NOT so permitted. Why is the 'conflict' attribute on the Policy not needed
in this case? Two permissions that are identical will never conflict, so
there will always be a difference in the expression if they do conflict, and
that difference is going to usually be in the Constraints somewhere.

 

Francis

 

 

From: odrl-version2-bounces at odrl.net [mailto:odrl-version2-bounces at odrl.net]
On Behalf Of ri at odrl.net
Sent: 18 November 2010 08:40
To: ODRL-Version2
Subject: Re: [Odrl-version2] Party constraints

 

 

On 18 Nov 2010, at 09:25, Francis Cave wrote:





That's fine so long as one is able to include conflict="prohibit" at the
Policy level. But what happens if, for other reasons, one needs
conflict="permit" at the Policy level?

 

If you have the exact same Action in both Permission and Prohibition, then
the Perm will win out.

But in your case, the Action in the Prohibition is further constrained
(hence, not the same) so there is actually no conflict to trigger.

 

 This leads to a more general question. Suppose that a Policy contains some
permissions and prohibitions where the intended resolution of conflicts is
to prohibit, whereas there are other permissions and prohibitions where the
intended resolution of conflicts is to permit. Would such cases be
inexpressible in ODRL? Or would one simply attach multiple Policies to the
asset in question?

 

I think multiple Policies is the safest way...

 

R

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://odrl.net/pipermail/odrl-version2_odrl.net/attachments/20101118/d8035c3f/attachment.html>


More information about the Odrl-version2 mailing list