-
-
Save stuehmer/5107514 to your computer and use it in GitHub Desktop.
The permision object at the bottom assigns several rights (in this case all 4) to an #agent to access #accessTo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"http://groups.event-processing.org/id/MyGroupA#group" : | |
{ | |
"http://purl.org/dc/elements/1.1/title": [ { "type" : "literal", "value" : "MyGroupA group" } ], | |
"http://purl.org/dc/elements/1.1/description": [ { "type" : "literal", "value" : "The Play MyGroupA group" } ], | |
"http://www.w3.org/2002/06/xhtml2/icon": [ { "type" : "uri", "value" : "http://s-static.ak.facebook.com/rsrc.php/yi/r/q9U99v3_saj.ico" } ], | |
"http://www.w3.org/1999/02/22-rdf-syntax-ns#type": [ { "type" : "uri", "value" : "http://rdfs.org/sioc/ns#Usergroup" } ] | |
}, | |
"http://groups.event-processing.org/id/MyGroupB#group" : | |
{ | |
"http://purl.org/dc/elements/1.1/title": [ { "type" : "literal", "value" : "MyGroupB group" } ], | |
"http://purl.org/dc/elements/1.1/description": [ { "type" : "literal", "value" : "The Play MyGroupB group" } ], | |
"http://www.w3.org/2002/06/xhtml2/icon": [ { "type" : "uri", "value" : "http://s-static.ak.facebook.com/rsrc.php/yi/r/q9U99v3_saj.ico" } ], | |
"http://www.w3.org/1999/02/22-rdf-syntax-ns#type": [ { "type" : "uri", "value" : "http://rdfs.org/sioc/ns#Usergroup" } ] | |
}, | |
"http://streams.event-processing.org/ids/MyPersonalStream#stream" : | |
{ | |
"http://purl.org/dc/elements/1.1/title": [ { "type" : "literal", "value" : "Facebook Status Feed" } ], | |
"http://purl.org/dc/elements/1.1/description": [ { "type" : "literal", "value" : "A stream of Facebook Wall updates." } ], | |
"http://www.w3.org/2002/06/xhtml2/icon": [ { "type" : "uri", "value" : "http://s-static.ak.facebook.com/rsrc.php/yi/r/q9U99v3_saj.ico" } ], | |
"http://www.play-project.eu/xml/ns/topic": [ { "type" : "uri" , "value" : "http://streams.event-processing.org/ids/FacebookStatusFeed" } ], | |
"http://www.play-project.eu/xml/ns/topic/prefix": [ { "type" : "literal" , "value" : "s" } ], | |
"http://www.play-project.eu/xml/ns/topic/name": [ { "type" : "literal" , "value" : "FacebookStatusFeed" } ], | |
"http://www.play-project.eu/xml/ns/topic/ns": [ { "type" : "uri" , "value" : "http://streams.event-processing.org/ids/" } ], | |
"http://www.w3.org/1999/02/22-rdf-syntax-ns#type": [ { "type" : "uri", "value" : "http://events.event-processing.org/types/Stream" } ] | |
}, | |
"http://permissions.event-processing.org/id/0000001" : | |
{ | |
"http://www.w3.org/ns/auth/acl#accessTo": [ { "type" : "uri", "value" : "http://streams.event-processing.org/ids/MyPersonalStream" } ], | |
"http://www.w3.org/ns/auth/acl#agent": [ { "type" : "uri", "value" : "http://groups.event-processing.org/id/MyGroupB#group" } ], | |
"http://www.w3.org/ns/auth/acl#mode": [ { "type" : "uri", "value" : "http://docs.oasis-open.org/wsn/bw-2/NotificationConsumer/Notify" } ], | |
"http://www.w3.org/ns/auth/acl#mode": [ { "type" : "uri", "value" : "http://docs.oasis-open.org/wsn/bw-2/NotificationProducer/SubscribeRequest" } ], | |
"http://www.w3.org/ns/auth/acl#mode": [ { "type" : "uri", "value" : "http://www.w3.org/ns/auth/acl#Write" } ], | |
"http://www.w3.org/ns/auth/acl#mode": [ { "type" : "uri", "value" : "http://www.w3.org/ns/auth/acl#Read" } ] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment