gunk-dev/the-valley

read-grant-without-projects.cue

sourceee200607ca12main's published tip history
512 bytes
1// A read grant names the projects it covers. Every project is the explicit
2// scope "all", never a grant that names nothing.
3package identity
4
5boundaries: {
6 "registry": kind: "registry"
7 "web": {kind: "edge-read", destination: "example.org"}
8}
9genesis: "root"
10principals: "root": {
11 kind: "human"
12 keys: [{class: "ssh-ed25519", bound: "hardware", public: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIExampleKeyForARejectedFixtureAAAAAAAAAAA"}]
13 grants: {
14 govern: boundary: "registry"
15 read: boundary: "web"
16 }
17}