From c3770922cca14aac16eb62bf7a453aebad22d5c1 Mon Sep 17 00:00:00 2001 From: elf Pavlik Date: Mon, 27 Feb 2023 15:28:23 -0600 Subject: [PATCH] [specification] drop inboxes closes #280 --- .../diagrams/social-agent-shares-access.seq.mmd | 6 ++---- proposals/specification/interop.jsonld | 4 ---- proposals/specification/interop.shex | 2 -- proposals/specification/interop.tree | 6 ------ proposals/specification/interop.ttl | 14 -------------- .../snippets/alice.example/alice.example.ttl | 6 +----- proposals/specification/social-agent.bs | 16 ---------------- 7 files changed, 3 insertions(+), 51 deletions(-) diff --git a/proposals/specification/diagrams/social-agent-shares-access.seq.mmd b/proposals/specification/diagrams/social-agent-shares-access.seq.mmd index 688ec7f6..994c9766 100644 --- a/proposals/specification/diagrams/social-agent-shares-access.seq.mmd +++ b/proposals/specification/diagrams/social-agent-shares-access.seq.mmd @@ -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 diff --git a/proposals/specification/interop.jsonld b/proposals/specification/interop.jsonld index 893b1916..c491a967 100644 --- a/proposals/specification/interop.jsonld +++ b/proposals/specification/interop.jsonld @@ -10,10 +10,6 @@ "@id": "interop:hasAuthorizationAgent", "@type": "@id" }, - "hasAccessInbox": { - "@id": "interop:hasAccessInbox", - "@type": "@id" - }, "hasRegistrySet": { "@id": "interop:hasRegistrySet", "@type": "@id" diff --git a/proposals/specification/interop.shex b/proposals/specification/interop.shex index 44043fdd..15c4d534 100644 --- a/proposals/specification/interop.shex +++ b/proposals/specification/interop.shex @@ -9,8 +9,6 @@ PREFIX skos: a [ interop:SocialAgent ] ; interop:hasRegistrySet IRI // shex:reference <#RegistrySetShape> ; interop:hasAuthorizationAgent IRI // shex:reference <#ApplicationShape> ; - interop:hasInbox IRI ; - interop:hasAccessInbox IRI } <#RegistrySetShape> { diff --git a/proposals/specification/interop.tree b/proposals/specification/interop.tree index f428a0e9..5b4d18db 100644 --- a/proposals/specification/interop.tree +++ b/proposals/specification/interop.tree @@ -16,12 +16,6 @@ PREFIX interops: 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 ; diff --git a/proposals/specification/interop.ttl b/proposals/specification/interop.ttl index 4cfa720f..efa4ab85 100644 --- a/proposals/specification/interop.ttl +++ b/proposals/specification/interop.ttl @@ -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 ; diff --git a/proposals/specification/snippets/alice.example/alice.example.ttl b/proposals/specification/snippets/alice.example/alice.example.ttl index c48c8343..40f19665 100644 --- a/proposals/specification/snippets/alice.example/alice.example.ttl +++ b/proposals/specification/snippets/alice.example/alice.example.ttl @@ -4,14 +4,10 @@ PREFIX interop: PREFIX alice: PREFIX alice-jarvis: PREFIX alice-auth: -PREFIX alice-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: . diff --git a/proposals/specification/social-agent.bs b/proposals/specification/social-agent.bs index beb5d04b..552e3eb7 100644 --- a/proposals/specification/social-agent.bs +++ b/proposals/specification/social-agent.bs @@ -20,12 +20,6 @@ The [=identity profile document=] MUST be readable by the public. It MAY use any resource or subject names. -Inboxes MUST allow for other -[=Social Agents=] or [=Applications=] to create resources. Inboxes -SHOULD 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) @@ -52,16 +46,6 @@ unwanted conditions. [Application](#classApplication) The software used by the Agent to manage access to their data - - hasInbox - ldp:inbox - A general inbox for messages sent to the [=Social Agent=] - - - hasAccessInbox - ldp:inbox - An inbox for access related messages sent to the [=Social Agent=] -