fix(org,team): guard the owner team rename, show permission-only team access and tidy member lookups

Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
bircni committed 2026-10-18 20:02:11 +02:00
1 parent dd9e05c6b9
commit dfb56eae67
10 files changed
+124 -12

No files matched your search

+1 -1
View File
@@ -326,7 +326,7 @@ func testTeamReviewRequests(t *testing.T, deps *Dependencies, execute func(...st
t.Errorf("team review repository cleanup: %v", err)
}
})
execute("team", "repo", "add", teamID, "-R", repo.FullName)
execute("team", "repo", "add", teamID, repo.FullName)
execute("branch", "create", "feature", "-R", repo.FullName)
deps.Streams.In = strings.NewReader(`{"branch":"feature","content":"dGVzdAo=","message":"Disposable team review change"}`)
execute("api", "repos/"+repo.FullName+"/contents/change.txt", "--input", "-")