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

added grantedBy to Data Authorization #304

Draft
wants to merge 1 commit 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
5 changes: 5 additions & 0 deletions proposals/specification/access-authorizations.bs
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,11 @@ needs to change, it should be replaced.
</tr>
</thead>
<tbody>
<tr>
<td>grantedBy</td>
<td>[SocialAgent](#classSocialAgent)</td>
<td>[=Social Agent=] that granted the [=Data Authorization=]</td>
</tr>
<tr>
<td>dataOwner</td>
<td>[SocialAgent](#classSocialAgent)</td>
Expand Down
1 change: 1 addition & 0 deletions proposals/specification/interop.shex
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
<#DataAuthorizationAllShape> {
a [ interop:DataAuthorization ] ;
$<#CommonDataAuthorizationProperties> (
interop:grantedBy IRI // shex:reference <#AgentShape> ;
interop:grantee IRI // shex:reference <#AgentShape> ;
interop:registeredShapeTree IRI // shex:reference sts:ShapeTree ;
interop:satisfiesAccessNeed IRI? // shex:reference <#AccessNeedShape> ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ PREFIX pm-shapetrees: <http://data.example/shapetrees/pm#>

alice-authorization:0e36ba8f
a interop:DataAuthorization ;
interop:grantedBy alice:\#id ;
interop:dataOwner bob:\#id ;
interop:grantee performchart:\#id ;
interop:registeredShapeTree pm-shapetrees:ProjectTree ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ PREFIX pm-shapetrees: <http://data.example/shapetrees/pm#>

alice-authorization:0e4cb692
a interop:DataAuthorization ;
interop:grantedBy alice:\#id ;
interop:dataOwner alice:\#id ;
interop:grantee projectron:\#id ;
interop:registeredShapeTree pm-shapetrees:TaskTree ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ PREFIX alice-agents: <https://alice.example/agents/>

alice-authorization:2d1568fb
a interop:DataAuthorization ;
interop:grantedBy alice:\#id ;
interop:dataOwner alice:\#id ;
interop:grantee sarah:\#id ;
interop:satisfiesAccessNeed jarvis:\#fde6805e ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ PREFIX pm-shapetrees: <http://data.example/shapetrees/pm#>

alice-authorization:3e94161f
a interop:DataAuthorization ;
interop:grantedBy alice:\#id ;
interop:dataOwner jose:\#id ;
interop:grantee performchart:\#id ;
interop:registeredShapeTree pm-shapetrees:ProjectTree ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ PREFIX pm-shapetrees: <http://data.example/shapetrees/pm#>

alice-authorization:54a1b6a0
a interop:DataAuthorization ;
interop:grantedBy alice:\#id ;
interop:grantee projectron:\#id ;
interop:registeredShapeTree pm-shapetrees:ProjectTree ;
interop:accessMode acl:Read, acl:Create ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ PREFIX alice-agents: <https://alice.example/agents/>

alice-authorization:55363f56
a interop:DataAuthorization ;
interop:grantedBy alice:\#id ;
interop:dataOwner alice:\#id ;
interop:grantee jarvis:\#id ;
interop:satisfiesAccessNeed jarvis:\#3fb5f9a6 ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ PREFIX alice-agents: <https://alice.example/agents/>

alice-authorization:5ca4692b
a interop:DataAuthorization ;
interop:grantedBy alice:\#id ;
interop:dataOwner alice:\#id ;
interop:grantee sarah:\#id ;
interop:satisfiesAccessNeed jarvis:\#fde6805e ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ PREFIX pm-shapetrees: <http://data.example/shapetrees/pm#>

alice-authorization:60e37fe3
a interop:DataAuthorization ;
interop:grantedBy alice:\#id ;
interop:dataOwner jose:\#id ;
interop:grantee performchart:\#id ;
interop:registeredShapeTree pm-shapetrees:TaskTree ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ PREFIX pm-shapetrees: <http://data.example/shapetrees/pm#>

alice-authorization:6531c8e2
a interop:DataAuthorization ;
interop:grantedBy alice:\#id ;
interop:dataOwner alice:\#id ;
interop:grantee performchart:\#id ;
interop:registeredShapeTree pm-shapetrees:TaskTree ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ PREFIX pm-shapetrees: <http://data.example/shapetrees/pm#>

alice-authorization:8f178288
a interop:DataAuthorization ;
interop:grantedBy alice:\#id ;
interop:dataOwner alice:\#id ;
interop:grantee performchart:\#id ;
interop:registeredShapeTree pm-shapetrees:ProjectTree ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ PREFIX alice-agents: <https://alice.example/agents/>

alice-authorization:935458cf
a interop:DataAuthorization ;
interop:grantedBy alice:\#id ;
interop:dataOwner alice:\#id ;
interop:grantee jarvis:\#id ;
interop:satisfiesAccessNeed jarvis:\#fde6805e ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ PREFIX pm-shapetrees: <http://data.example/shapetrees/pm#>

alice-authorization:ca14a518
a interop:DataAuthorization ;
interop:grantedBy alice:\#id ;
interop:dataOwner bob:\#id ;
interop:grantee performchart:\#id ;
interop:registeredShapeTree pm-shapetrees:TaskTree ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ PREFIX alice-agents: <https://alice.example/agents/>
alice-authorization:ec6057d9
a interop:DataAuthorization ;
interop:registeredShapeTree pm-shapetrees:TaskTree ;
interop:grantedBy alice:\#id ;
interop:dataOwner alice:\#id ;
interop:grantee bob:\#id ;
interop:satisfiesAccessNeed projectron:\#9462959c ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ PREFIX alice-agents: <https://alice.example/agents/>

alice-authorization:f800b10c
a interop:DataAuthorization ;
interop:grantedBy alice:\#id ;
interop:grantee bob:\#id ;
interop:registeredShapeTree pm-shapetrees:ProjectTree ;
interop:satisfiesAccessNeed projectron:\#ac54ff1e ;
Expand Down
1 change: 1 addition & 0 deletions proposals/specification/snippets/bob.example/e4b1b154.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ PREFIX pm-shapetrees: <http://data.example/shapetrees/pm#>

bob-authorization:e4b1b154
a interop:DataAuthorization ;
interop:grantedBy bob:\#id ;
interop:dataOwner bob:\#id ;
interop:grantee alice:\#id ;
interop:registeredShapeTree pm-shapetrees:ProjectTree ;
Expand Down
1 change: 1 addition & 0 deletions proposals/specification/snippets/jose.example/69095550.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ PREFIX pm-shapetrees: <http://data.example/shapetrees/pm#>

jose-authorization:69095550
a interop:DataAuthorization ;
interop:grantedBy jose:\#id ;
interop:dataOwner jose:\#id ;
interop:grantee alice:\#id ;
interop:registeredShapeTree pm-shapetrees:ProjectTree ;
Expand Down