Skip to content

Commit d3fab86

Browse files
committed
added grantedBy to Data Authorization
closes #246
1 parent e7f5864 commit d3fab86

File tree

18 files changed

+22
-0
lines changed

18 files changed

+22
-0
lines changed

proposals/specification/access-authorizations.bs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,11 @@ needs to change, it should be replaced.
145145
</tr>
146146
</thead>
147147
<tbody>
148+
<tr>
149+
<td>grantedBy</td>
150+
<td>[SocialAgent](#classSocialAgent)</td>
151+
<td>[=Social Agent=] that granted the [=Data Authorization=]</td>
152+
</tr>
148153
<tr>
149154
<td>dataOwner</td>
150155
<td>[SocialAgent](#classSocialAgent)</td>

proposals/specification/interop.shex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
144144
<#DataAuthorizationAllShape> {
145145
a [ interop:DataAuthorization ] ;
146146
$<#CommonDataAuthorizationProperties> (
147+
interop:grantedBy IRI // shex:reference <#AgentShape> ;
147148
interop:grantee IRI // shex:reference <#AgentShape> ;
148149
interop:registeredShapeTree IRI // shex:reference sts:ShapeTree ;
149150
interop:satisfiesAccessNeed IRI? // shex:reference <#AccessNeedShape> ;

proposals/specification/snippets/alice.example/0e36ba8f.ttl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ PREFIX pm-shapetrees: <http://data.example/shapetrees/pm#>
1313

1414
alice-authorization:0e36ba8f
1515
a interop:DataAuthorization ;
16+
interop:grantedBy alice:\#id ;
1617
interop:dataOwner bob:\#id ;
1718
interop:grantee performchart:\#id ;
1819
interop:registeredShapeTree pm-shapetrees:ProjectTree ;

proposals/specification/snippets/alice.example/0e4cb692.ttl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ PREFIX pm-shapetrees: <http://data.example/shapetrees/pm#>
1111

1212
alice-authorization:0e4cb692
1313
a interop:DataAuthorization ;
14+
interop:grantedBy alice:\#id ;
1415
interop:dataOwner alice:\#id ;
1516
interop:grantee projectron:\#id ;
1617
interop:registeredShapeTree pm-shapetrees:TaskTree ;

proposals/specification/snippets/alice.example/2d1568fb.ttl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ PREFIX alice-agents: <https://alice.example/agents/>
1111

1212
alice-authorization:2d1568fb
1313
a interop:DataAuthorization ;
14+
interop:grantedBy alice:\#id ;
1415
interop:dataOwner alice:\#id ;
1516
interop:grantee sarah:\#id ;
1617
interop:satisfiesAccessNeed jarvis:\#fde6805e ;

proposals/specification/snippets/alice.example/3e94161f.ttl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ PREFIX pm-shapetrees: <http://data.example/shapetrees/pm#>
1313

1414
alice-authorization:3e94161f
1515
a interop:DataAuthorization ;
16+
interop:grantedBy alice:\#id ;
1617
interop:dataOwner jose:\#id ;
1718
interop:grantee performchart:\#id ;
1819
interop:registeredShapeTree pm-shapetrees:ProjectTree ;

proposals/specification/snippets/alice.example/54a1b6a0.ttl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ PREFIX pm-shapetrees: <http://data.example/shapetrees/pm#>
1111

1212
alice-authorization:54a1b6a0
1313
a interop:DataAuthorization ;
14+
interop:grantedBy alice:\#id ;
1415
interop:grantee projectron:\#id ;
1516
interop:registeredShapeTree pm-shapetrees:ProjectTree ;
1617
interop:accessMode acl:Read, acl:Create ;

proposals/specification/snippets/alice.example/55363f56.ttl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ PREFIX alice-agents: <https://alice.example/agents/>
1010

1111
alice-authorization:55363f56
1212
a interop:DataAuthorization ;
13+
interop:grantedBy alice:\#id ;
1314
interop:dataOwner alice:\#id ;
1415
interop:grantee jarvis:\#id ;
1516
interop:satisfiesAccessNeed jarvis:\#3fb5f9a6 ;

proposals/specification/snippets/alice.example/5ca4692b.ttl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ PREFIX alice-agents: <https://alice.example/agents/>
1111

1212
alice-authorization:5ca4692b
1313
a interop:DataAuthorization ;
14+
interop:grantedBy alice:\#id ;
1415
interop:dataOwner alice:\#id ;
1516
interop:grantee sarah:\#id ;
1617
interop:satisfiesAccessNeed jarvis:\#fde6805e ;

proposals/specification/snippets/alice.example/60e37fe3.ttl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ PREFIX pm-shapetrees: <http://data.example/shapetrees/pm#>
1313

1414
alice-authorization:60e37fe3
1515
a interop:DataAuthorization ;
16+
interop:grantedBy alice:\#id ;
1617
interop:dataOwner jose:\#id ;
1718
interop:grantee performchart:\#id ;
1819
interop:registeredShapeTree pm-shapetrees:TaskTree ;

0 commit comments

Comments
 (0)