mirror of
https://gitea.com/gitea/tea.git
synced 2026-10-26 19:11:25 +01:00
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:
10 files changed
+124
-12
No files matched your search
@@ -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", "-")
|
||||
|
||||
Reference in new issue
Block a user