W3C home > Mailing lists > Public > public-odrl-contrib@w3.org > April 2012

Restricting Multiple Organizations in a Single ODRL

From: Myles, Stuart <SMyles@ap.org>
Date: Wed, 11 Apr 2012 17:38:02 +0000
To: "ODRL Community Group WG (public-odrl-contrib@w3.org)" <public-odrl-contrib@w3.org>
Message-ID: <2B3AA5056E3CB8428BDE670B2CEEC54F1BF168FD@CTCXMBX02.ap.org>
I would like to include an ODRL policy that restricts a list of organizations from distributing a piece of content that they receive. So, I am creating a policy that contains a prohibition for a piece of content, with an action of distribute and two constraints one for each organization. This is syntactically valid (i.e. it validates against the current ODRL XSD). But is this the right way to do it? It is certainly compact...

<?xml version="1.0" encoding="UTF-8"?>
<o:policy
    xmlns:o="http://w3.org/ns/odrl/2/"
    type ="o:set"
    inheritAllowed ="true"
    uid = "{UID}">
    <o:prohibition>
        <o:asset uid="{URN FOR PIECE OF CONTENT}" relation="http://w3.org/ns/odrl/vocab#target" />
        <o:action name="http://w3.org/ns/odrl/vocab#distribute" />
        <o:constraint name="http://w3.org/ns/odrl/vocab#recipient" operator="http://w3.org/ns/odrl/vocab#eq" rightOperand= "{UID FOR ORGANIZATION A}"/>
        <o:constraint name="http://w3.org/ns/odrl/vocab#recipient" operator="http://w3.org/ns/odrl/vocab#eq" rightOperand= "{UID FOR ORGANIZATION B}"/>
    </o:prohibition>
</o:policy>

Thanks, as usual, for your help.

Regards,

Stuart



The information contained in this communication is intended for the use
of the designated recipients named above. If the reader of this 
communication is not the intended recipient, you are hereby notified
that you have received this communication in error, and that any review,
dissemination, distribution or copying of this communication is strictly
prohibited. If you have received this communication in error, please 
notify The Associated Press immediately by telephone at +1-212-621-1898 
and delete this email. Thank you.
[IP_US_DISC]

msk dccc60c6d2c3a6438f0cf467d9a4938
Received on Wednesday, 11 April 2012 17:38:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 11 April 2012 17:38:03 GMT