Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
9 changes: 9 additions & 0 deletions devbox.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.14.0/.schema/devbox.schema.json",
"packages": ["bikeshed@latest"],
"shell": {
"init_hook": [
"alias bikeshed='bikeshed --no-update'",
]
}
}
72 changes: 72 additions & 0 deletions devbox.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"lockfile_version": "1",
"packages": {
"bikeshed@latest": {
"last_modified": "2025-05-06T08:06:31Z",
"resolved": "github:NixOS/nixpkgs/1cb1c02a6b1b7cf67e3d7731cbbf327a53da9679#bikeshed",
"source": "devbox-search",
"version": "5.1.2",
"systems": {
"aarch64-darwin": {
"outputs": [
{
"name": "out",
"path": "/nix/store/byk7ag1k1mxrn0k2xdik7rzln600d39h-bikeshed-5.1.2",
"default": true
},
{
"name": "dist",
"path": "/nix/store/x7p41gi116xfdn43qyzx61yamwyhaqxk-bikeshed-5.1.2-dist"
}
],
"store_path": "/nix/store/byk7ag1k1mxrn0k2xdik7rzln600d39h-bikeshed-5.1.2"
},
"aarch64-linux": {
"outputs": [
{
"name": "out",
"path": "/nix/store/5nwp942h6mni220dzqbcqb04mxnh6mfc-bikeshed-5.1.2",
"default": true
},
{
"name": "dist",
"path": "/nix/store/jjrv0vwvnnjpd6wisb8b3xg24rxz5zwp-bikeshed-5.1.2-dist"
}
],
"store_path": "/nix/store/5nwp942h6mni220dzqbcqb04mxnh6mfc-bikeshed-5.1.2"
},
"x86_64-darwin": {
"outputs": [
{
"name": "out",
"path": "/nix/store/vwh4hjpd0r9zw4fxdwjb6z1x9l39jmq9-bikeshed-5.1.2",
"default": true
},
{
"name": "dist",
"path": "/nix/store/rk3091z67f5mamqywgasm1y9ghfmyizl-bikeshed-5.1.2-dist"
}
],
"store_path": "/nix/store/vwh4hjpd0r9zw4fxdwjb6z1x9l39jmq9-bikeshed-5.1.2"
},
"x86_64-linux": {
"outputs": [
{
"name": "out",
"path": "/nix/store/l80hk33mi0wsynwl12livkc6c3sqj0bd-bikeshed-5.1.2",
"default": true
},
{
"name": "dist",
"path": "/nix/store/gpxy88dizvl00fj10r4dbh0qa10ham5r-bikeshed-5.1.2-dist"
}
],
"store_path": "/nix/store/l80hk33mi0wsynwl12livkc6c3sqj0bd-bikeshed-5.1.2"
}
}
},
"github:NixOS/nixpkgs/nixpkgs-unstable": {
"resolved": "github:NixOS/nixpkgs/b3582c75c7f21ce0b429898980eddbbf05c68e55?lastModified=1746576598&narHash=sha256-FshoQvr6Aor5SnORVvh%2FZdJ1Sa2U4ZrIMwKBX5k2wu0%3D"
}
}
}
5 changes: 2 additions & 3 deletions proposals/primer/authorization-agent.bs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ shape tree assigned to the Data Registration.
line-start: 1
line-highlight: 3
</pre>
</pre>
<figcaption>Data Registration for projects in one of Alice's Data Registries</figcaption>
</figure>

Expand Down Expand Up @@ -188,8 +187,8 @@ Its main purpose is to make [[#access-grant]] available to the registered agent.

## Social Agent Registration

Social Agent Registration is created for a Social Agent. Besides [[##access-grant]]
it can also reference a [[#reciprocal-registration]]
Social Agent Registration is created for a Social Agent. Besides [[#access-grant]]
it can also reference a [[#reciprocal-registration]].

### Reciprocal Registration ### {#reciprocal-registration}

Expand Down
3 changes: 3 additions & 0 deletions proposals/primer/data-grant.bs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ Data Grant can be consider as the most important data structure, it provides fol
: dataOwner
:: Social Agent who owns the data

: grantedBy
:: Social Agent who granted the access

: registeredShapeTree
:: Shape Tree used by related Data Registration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ PREFIX alice-pro: <https://pro.alice.example/>
alice-auth:cd247a67-0879-4301-abd0-828f63abb252
a interop:DataGrant ;
interop:dataOwner <https://alice.example/#id> ;
interop:grantedBy <https://alice.example/#id> ;
interop:registeredShapeTree solidtrees:Project ;
interop:hasDataRegistration alice-pro:773605f0-b5bf-4d46-878d-5c167eac8b5d ;
interop:accessMode acl:Read, acl:Write ;
Expand Down
10 changes: 10 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 Expand Up @@ -346,6 +351,11 @@ needs to change, it should be replaced.
<td>[SocialAgent](#classSocialAgent)</td>
<td>[=Social Agent=] that owns the data being granted</td>
</tr>
<tr>
<td>grantedBy</td>
<td>[SocialAgent](#classSocialAgent)</td>
<td>[=Social Agent=] that granted the [=Data Grant=]</td>
</tr>
<tr>
<td>grantee</td>
<td>[Agent](#classAgent)</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 @@ -153,6 +153,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 @@ -12,6 +12,7 @@ PREFIX alice-work-data: <https://work.alice.example/data/>
alice-projectron:0945218b
a interop:DataGrant ;
interop:dataOwner alice:\#id ;
interop:grantedBy alice:\#id ;
interop:grantee projectron:\#id ;
interop:registeredShapeTree pm-shapetrees:TaskTree ;
interop:hasDataRegistration alice-work-data:df4ab227\/ ;
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 @@ -12,6 +12,7 @@ PREFIX alice-work-data: <https://work.alice.example/data/>
alice-performchart:244dfe3e
a interop:DataGrant ;
interop:dataOwner alice:\#id ;
interop:grantedBy alice:\#id ;
interop:grantee performchart:\#id ;
interop:registeredShapeTree pm-shapetrees:TaskTree ;
interop:hasDataRegistration alice-work-data:df4ab227\/ ;
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 @@ -12,6 +12,7 @@ PREFIX alice-work-data: <https://work.alice.example/data/>
alice-projectron:40d038ea
a interop:DataGrant ;
interop:dataOwner alice:\#id ;
interop:grantedBy alice:\#id ;
interop:grantee projectron:\#id ;
interop:registeredShapeTree pm-shapetrees:ProjectTree ;
interop:hasDataRegistration alice-work-data:8501f084\/ ;
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 @@ -10,6 +10,7 @@ PREFIX alice-agents-jarvis: <https://alice.example/agents/b5eea7bb/>
alice-agents-jarvis:6ef722af
a interop:DataGrant ;
interop:dataOwner alice:\#id ;
interop:grantedBy alice:\#id ;
interop:grantee jarvis:\#id ;
interop:satisfiesAccessNeed jarvis:\#fde6805e ;
interop:accessMode acl:Read, acl:Update, acl:Control ;
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
3 changes: 2 additions & 1 deletion proposals/specification/snippets/alice.example/8fac3576.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ PREFIX alice-sarah: <https://alice.example/agents/b49afcdf/>

alice-sarah:8fac3576
a interop:DataGrant ;
interop:dataOwner alice: ;
interop:dataOwner alice:\# ;
interop:grantedBy alice:\# ;
interop:grantee sarah:\#id ;
interop:satisfiesAccessNeed jarvis:\#3fb5f9a6 ;
interop:accessMode acl:Read, acl:Update, acl:Control ;
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
3 changes: 2 additions & 1 deletion proposals/specification/snippets/alice.example/95ff7580.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ PREFIX projectron: <https://projectron.example/>

alice-bob:95ff7580
a interop:DataGrant ;
interop:dataOwner alice: ;
interop:dataOwner alice:\#id ;
interop:grantedBy alice:\#id ;
interop:grantee bob:\#id ;
interop:registeredShapeTree pm-shapetrees:TaskTree ;
interop:hasDataRegistration alice-work-data:df4ab227\/ ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ PREFIX alice-personal-data: <https://personal.alice.example/data/>
alice-projectron:a0623c8f
a interop:DataGrant ;
interop:dataOwner alice:\#id ;
interop:grantedBy alice:\#id ;
interop:grantee projectron:\#id ;
interop:registeredShapeTree pm-shapetrees:ProjectTree ;
interop:hasDataRegistration alice-personal-data:fe7a8e7b\/ ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ PREFIX alice-work-data: <https://work.alice.example/data/>
alice-performchart:a8a224e6
a interop:DataGrant ;
interop:dataOwner alice:\#id ;
interop:grantedBy alice:\#id ;
interop:grantee performchart:\#id ;
interop:registeredShapeTree pm-shapetrees:ProjectTree ;
interop:hasDataRegistration alice-work-data:8501f084\/ ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ PREFIX alice-agents-jarvis: <https://alice.example/agents/b5eea7bb/>
alice-agents-jarvis:b0dc6c78
a interop:DataGrant ;
interop:dataOwner alice:\#id ;
interop:grantedBy alice:\#id ;
interop:grantee jarvis:\#id ;
interop:satisfiesAccessNeed jarvis:\#3fb5f9a6 ;
interop:accessMode acl:Read, acl:Update, acl:Control ;
Expand Down
3 changes: 2 additions & 1 deletion proposals/specification/snippets/alice.example/b42228af.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ PREFIX alice-work-data: <https://work.alice.example/data/>

alice-bob:b42228af
a interop:DataGrant ;
interop:dataOwner alice: ;
interop:dataOwner alice:\#id ;
interop:grantedBy alice:\#id ;
interop:grantee bob:\#id ;
interop:registeredShapeTree pm-shapetrees:ProjectTree ;
interop:hasDataRegistration alice-work-data:8501f084\/ ;
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
3 changes: 2 additions & 1 deletion proposals/specification/snippets/alice.example/d85fd1f5.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ PREFIX alice-sarah: <https://alice.example/agents/b49afcdf/>

alice-sarah:d85fd1f5
a interop:DataGrant ;
interop:dataOwner alice: ;
interop:dataOwner alice:\#id ;
interop:grantedBy alice:\#id ;
interop:grantee sarah:\#id ;
interop:satisfiesAccessNeed jarvis:\#3fb5f9a6 ;
interop:accessMode acl:Read, acl:Update, acl:Control ;
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
3 changes: 2 additions & 1 deletion proposals/specification/snippets/bob.example/b2b6a645.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ PREFIX pm-shapetrees: <http://data.example/shapetrees/pm#>

bob-alice:b2b6a645
a interop:DataGrant ;
interop:dataOwner bob: ;
interop:dataOwner bob:\#id ;
interop:grantedBy bob:\#id ;
interop:grantee alice:\#id ;
interop:registeredShapeTree pm-shapetrees:ProjectTree ;
interop:hasDataRegistration bob-work-data:08a99a10\/ ;
Expand Down
3 changes: 2 additions & 1 deletion proposals/specification/snippets/bob.example/d5b5760c.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ PREFIX pm-shapetrees: <http://data.example/shapetrees/pm#>

bob-alice:d5b5760c
a interop:DataGrant ;
interop:dataOwner bob: ;
interop:dataOwner bob:\#id ;
interop:grantedBy bob:\#id ;
interop:grantee alice:\#id ;
interop:registeredShapeTree pm-shapetrees:TaskTree ;
interop:hasDataRegistration bob-work-data:45e092cf\/ ;
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/10d14db3.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-alice:10d14db3
a interop:DataGrant ;
interop:dataOwner jose:\#id ;
interop:grantedBy jose:\#id ;
interop:grantee alice:\#id ;
interop:registeredShapeTree pm-shapetrees:TaskTree ;
interop:hasDataRegistration jose-work-data:9a1bdd8f\/ ;
Expand Down
Loading
Loading