gunk-dev/the-valley
the-valley:qn-bb8ea59questionopen

Should a principal holding only a read grant be able to push topic branches?

State
question or idea
Created
2026-11-03 by contributor

Body

Found 2026-11-03 by the ssh-e2e read-principal subtest (change yonw). A principal whose only grant is read can:

- clone and fetch;
- push a topic branch: any named key may push one by design (docs/architecture.md:255);
- run `git archive --remote`, which git-shell serves through git-upload-archive.

It is refused main, tags and integration requests, and gets no shell or arbitrary command.

Archive exposes nothing a fetch does not. A topic branch never lands without an approval. The question is whether a read-only principal should be able to propose changes at all, or whether "may push a topic branch" should become a grant of its own. It belongs with the target model in qn-94c8817 (grants and identities), after M8.

Comments

No comments.