Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access Needs for Public Resources #254

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified build.sh
100644 → 100755
Empty file.
10 changes: 10 additions & 0 deletions proposals/specification/access-consents.bs
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,11 @@ needs to change, it should be replaced.
<td>`acl:Read, acl:Write, acl:Update, acl:Create, acl:Delete, acl:Append`</td>
<td>Modes of access granted to the consented data</td>
</tr>
<tr>
<td>publicAccessMode</td>
<td>`acl:Read, acl:Write, acl:Update, acl:Create, acl:Delete, acl:Append`</td>
<td>Granted modes of access for public agents to the consented data.</td>
</tr>
<tr>
<td>creatorAccessMode</td>
<td>`acl:Read, acl:Write, acl:Update, acl:Create, acl:Delete, acl:Append`</td>
Expand Down Expand Up @@ -362,6 +367,11 @@ needs to change, it should be replaced.
<td>`acl:Read, acl:Write, acl:Update, acl:Create, acl:Delete, acl:Append`</td>
<td>Modes of access granted to the target data at hasDataRegistration</td>
</tr>
<tr>
<td>publicAccessMode</td>
<td>`acl:Read, acl:Write, acl:Update, acl:Create, acl:Delete, acl:Append`</td>
<td>Modes of access granted to public agents for the target data at hasDataRegistration.</td>
</tr>
<tr>
<td>creatorAccessMode</td>
<td>`acl:Read, acl:Write, acl:Update, acl:Create, acl:Delete, acl:Append`</td>
Expand Down
5 changes: 5 additions & 0 deletions proposals/specification/access-needs.bs
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,11 @@ associating them with the [=Access Need=].
<td>`acl:Read, acl:Write, acl:Update, acl:Create, acl:Delete, acl:Append`</td>
<td>Requested modes of access for the [=Access Need=]</td>
</tr>
<tr>
<td>publicAccessMode</td>
<td>`acl:Read, acl:Write, acl:Update, acl:Create, acl:Delete, acl:Append`</td>
<td>Requested modes of access for public agents.</td>
</tr>
<tr>
<td>creatorAccessMode</td>
<td>`acl:Read, acl:Write, acl:Update, acl:Create, acl:Delete, acl:Append`</td>
Expand Down
8 changes: 8 additions & 0 deletions proposals/specification/interop.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,14 @@
"@set"
]
},
"publicAccessMode": {
"@id": "interop:publicAccessMode",
"@type": "@id",
"@container": [
"@id",
"@set"
]
},
"creatorAccessMode": {
"@id": "interop:creatorAccessMode",
"@type": "@id",
Expand Down
2 changes: 2 additions & 0 deletions proposals/specification/interop.shex
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
a [ interop:AccessNeed ] ;
interop:registeredShapeTree IRI // shex:reference sts:ShapeTree ;
interop:accessMode @<#AccessModes>+ ;
interop:publicAccessMode @<#AccessModes>* ;
interop:creatorAccessMode @<#AccessModes>* ;
interop:accessNecessity [ interop:AccessRequired interop:AccessOptional ] ;
interop:hasDataInstance IRI* ;
Expand Down Expand Up @@ -148,6 +149,7 @@ PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
interop:registeredShapeTree IRI // shex:reference sts:ShapeTree ;
interop:satisfiesAccessNeed IRI? // shex:reference <#AccessNeedShape> ;
interop:accessMode @<#AccessModes>+ ;
interop:publicAccessMode @<#AccessModes>* ;
interop:creatorAccessMode @<#AccessModes>* ;
) ;
interop:scopeOfConsent [ interop:All ]
Expand Down
7 changes: 7 additions & 0 deletions proposals/specification/interop.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,13 @@ rdfs:label "Terms for application interoperability in Solid"@en .
rdfs:range [ owl:oneOf ( acl:Read acl:Write acl:Control acl:Append acl:Create acl:Update acl:Delete ) ] ;
rdfs:label "Access Mode"@en .

:publicAccessMode
a rdf:Property ;
rdfs:comment "A requested acl:mode of access for public agents"@en ;
rdfs:isDefinedBy <> ;
rdfs:range [ owl:oneOf ( acl:Read acl:Write acl:Control acl:Append acl:Create acl:Update acl:Delete ) ] ;
rdfs:label "Public Access Mode"@en .

:creatorAccessMode
a rdf:Property ;
rdfs:comment "An additional requested acl:mode of access for the creator of a resource"@en ;
Expand Down