Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Site
Clone

Read only, no credentials:

https://rodent.software/vole.git

Write over SSH with a registered key:

git clone ssh://git@rodent.software/vole.git

Self-hosted forge that lives in your Git repo.

Name role capabilities consistently

cc5123a549d8d0991e74a88fff8208b5071d1192 · Keenan Nemetz · 1d ago · parent 648cd81b

forge/access/runners_test.go +3−3

@@ -63,8 +63,8 @@ func TestLegacyRunnerAllowlistBecomesTheRole(t *testing.T) {
63 63 if got := parsed.Entries["lower"]; got != "runner" {
64 64 t.Fatalf("allowlisted read entry = %q, want runner", got)
65 65 }
66 if got := parsed.Entries["higher"]; got != "maintain" {
67 t.Fatalf("allowlisted maintain entry = %q, want maintain", got)
66 if got := parsed.Entries["higher"]; got != "maintainer" {
67 t.Fatalf("allowlisted maintainer entry = %q, want maintainer", got)
68 68 }
69 69 if got := parsed.Entries["new-runner"]; got != "runner" {
70 70 t.Fatalf("allowlisted account = %q, want runner", got)
@@ -84,7 +84,7 @@ func TestLegacyRunnerAllowlistBecomesTheRole(t *testing.T) {
84 84 if err != nil {
85 85 t.Fatal(err)
86 86 }
87 if back.Entries["lower"] != "runner" || back.Entries["higher"] != "maintain" {
87 if back.Entries["lower"] != "runner" || back.Entries["higher"] != "maintainer" {
88 88 t.Fatalf("roles did not survive a round trip: %#v", back.Entries)
89 89 }
90 90 }