gunk-dev/the-valley

push-grant-with-projects.cue

source10091af9534amain's published tip history
599 bytes
1// Push is compiled host-wide: per-project access is not honestly
2// enforceable over a shared git user (dcr-0f5d9b1). A project scope on a
3// push grant would be a scope nothing checks.
4package identity
5
6boundaries: {
7 "registry": kind: "registry"
8 "push": kind: "git-push"
9}
10genesis: "root"
11principals: "root": {
12 kind: "human"
13 keys: [{class: "ssh-ed25519", bound: "hardware", public: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIExampleKeyForARejectedFixtureAAAAAAAAAAA"}]
14 grants: {
15 govern: boundary: "registry"
16 push: {boundary: "push", projects: app: "9da6809f038df92138c131cd16bed76d"}
17 }
18}