gunk-dev/the-valley

grant-opens-replacement-refs.cue

sourcedd20c0d5ac09main's published tip history
366 bytes
1// A grant naming a namespace closed to every push. Replacement refs take no
2// push whatever a declaration says, and the hook refuses them before it
3// reads any grant, so this declaration would read as a grant that never
4// applies. The schema refuses it instead.
5package valley
6
7projects: ok: grants: replace: {
8 refs: ["refs/replace/*"]
9 writers: ["operator"]
10}