Policy-level Assets/Parties/Actions

Following up from the the teleconference about Issue 73 [1] and 82 [2].

The objective is to allow Policy-level Assets, Parties, and Actions to be defined (almost like global declarations).
Each of these are then *added* to each Permission and Prohibition Rule (when fully expanded).
(Note: they do not affect Duties.)

Consider this example:

{   "type": "odrl:Agreement",
    "uid": "http://example.com/policy:3333",
    "target": "http://example.com/asset:3333",
    "assigner": "http://example.com/boss:0001",
    "action": "odrl:display",
    "permission": [{
        "assignee": "http://example.com/guest:0001",
        "action": "odrl:print"
    }],
    "prohibition": [{
        "target": "http://example.com/asset:4444",
        "assignee": "http://example.com/guest:0002"
    }]
}

This would then be expanded (or mapped) into the full expression:

{    "type": "odrl:Agreement",
    "uid": "http://example.com/policy:3333",
    "permission": [{
        "target": "http://example.com/asset:3333",
        "assigner": "http://example.com/boss:0001",
        "assignee": "http://example.com/guest:0001",
        "action": "odrl:print",
        "action": "odrl:display"
    }],
    "prohibition": [{
        "target": "http://example.com/asset:3333",
        "target": "http://example.com/asset:4444",
        "assigner": "http://example.com/boss:0001",
        "assignee": "http://example.com/guest:0002",
        "action": "odrl:display"
    }]
}

This allows us to support multiple Assets and Actions as well.


Renato Iannella, Monegraph
Co-Chair, W3C Permissions & Obligations Expression (POE) Working Group

[1] https://github.com/w3c/poe/issues/73 <https://github.com/w3c/poe/issues/73>
[2] https://github.com/w3c/poe/issues/82 <https://github.com/w3c/poe/issues/82>

Received on Wednesday, 11 January 2017 04:35:14 UTC