Skip to content

Commit

Permalink
Merge pull request #301 from elf-pavlik/drop-inboxes
Browse files Browse the repository at this point in the history
[specification] drop inboxes
  • Loading branch information
elf-pavlik authored Apr 3, 2023
2 parents 4b84f42 + c377092 commit 1990f57
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 51 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ sequenceDiagram
Note over aa_alice, pod_alice: 14. Record Access Authorization
Note over aa_alice, pod_alice: 15. Create Social Agent Registration
Note over aa_alice, pod_alice: 16. Record Access Grant
Note over aa_alice, id_bob: 17. Discover Bob's Access Inbox
Note over aa_alice, pod_bob: 18. Put Access Receipt in Access Inbox

aa_alice-->>proj: 19. Redirect Alice back to Projectron
aa_alice-->>proj: 17. Redirect Alice back to Projectron

Note over proj: 20. 🟢 Now Bob can access the shared project
Note over proj: 18. 🟢 Now Bob can access the shared project
4 changes: 0 additions & 4 deletions proposals/specification/interop.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@
"@id": "interop:hasAuthorizationAgent",
"@type": "@id"
},
"hasAccessInbox": {
"@id": "interop:hasAccessInbox",
"@type": "@id"
},
"hasRegistrySet": {
"@id": "interop:hasRegistrySet",
"@type": "@id"
Expand Down
2 changes: 0 additions & 2 deletions proposals/specification/interop.shex
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
a [ interop:SocialAgent ] ;
interop:hasRegistrySet IRI // shex:reference <#RegistrySetShape> ;
interop:hasAuthorizationAgent IRI // shex:reference <#ApplicationShape> ;
interop:hasInbox IRI ;
interop:hasAccessInbox IRI
}

<#RegistrySetShape> {
Expand Down
6 changes: 0 additions & 6 deletions proposals/specification/interop.tree
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@ PREFIX interops: <http://www.w3.org/ns/solid/interop-schema#>
st:expectsType st:Resource ;
st:shape interops:RegistrySetShape .

<#AccessInboxTree>
a st:ShapeTree ;
st:expectsType st:Container ;
st:contains <#AccessReceiptTree> ,
<#AccessRequestTree> .

<#AccessReceiptTree>
a st:ShapeTree ;
st:expectsType st:Resource ;
Expand Down
14 changes: 0 additions & 14 deletions proposals/specification/interop.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,6 @@ rdfs:label "Terms for application interoperability in Solid"@en .
rdfs:isDefinedBy <> ;
rdfs:label "Social Agent"@en .

:hasInbox
a rdf:Property ;
rdfs:comment "Links a Social Agent to an inbox"@en ;
rdfs:isDefinedBy <> ;
rdfs:domain :SocialAgent ;
rdfs:label "Has Inbox"@en .

:hasAccessInbox
rdfs:subPropertyOf :hasInbox ;
rdfs:comment "Links a Social Agent to an Access inbox for Access Receipts"@en ;
rdfs:isDefinedBy <> ;
rdfs:domain :SocialAgent ;
rdfs:label "Has Access Inbox"@en .

:hasRegistrySet
a rdf:Property ;
rdfs:comment "Links a Social Agent to their registry set"@en ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,10 @@ PREFIX interop: <http://www.w3.org/ns/solid/interop#>
PREFIX alice: <https://alice.example/>
PREFIX alice-jarvis: <https://alice.jarvis.example/>
PREFIX alice-auth: <https://auth.alice.example/>
PREFIX alice-inbox: <https://alice.example/inbox/>

alice:\#id
a interop:Agent ;
######## Registry Sets ########
interop:hasRegistrySet alice:registries ;
######## Authorization Agent ########
interop:hasAuthorizationAgent alice-jarvis: ;
######## Inboxes ########
interop:hasInbox alice-inbox:general ;
interop:hasAccessInbox alice-inbox:access .
interop:hasAuthorizationAgent alice-jarvis: .
16 changes: 0 additions & 16 deletions proposals/specification/social-agent.bs
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@ The [=identity profile document=] <em class="rfc2119">MUST</em>
be readable by the public. It <em class="rfc2119">MAY</em>
use any resource or subject names.

Inboxes <em class="rfc2119">MUST</em> allow for other
[=Social Agents=] or [=Applications=] to create resources. Inboxes
<em class="rfc2119">SHOULD</em> limit the [=Social Agents=]
with create privileges to prevent denial of service, spam, or other
unwanted conditions.

[Class Definition](interop.ttl#SocialAgent) -
[Shape Definition](interop.shex#SocialAgentShape) -
[Shape Tree Definition](interop.tree#SocialAgentTree)
Expand All @@ -52,16 +46,6 @@ unwanted conditions.
<td>[Application](#classApplication)</td>
<td>The software used by the Agent to manage access to their data</td>
</tr>
<tr>
<td>hasInbox</td>
<td>ldp:inbox</td>
<td>A general inbox for messages sent to the [=Social Agent=]</td>
</tr>
<tr>
<td>hasAccessInbox</td>
<td>ldp:inbox</td>
<td>An inbox for access related messages sent to the [=Social Agent=]</td>
</tr>
</tbody>
</table>

Expand Down

0 comments on commit 1990f57

Please sign in to comment.