Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing authorization check on pull for public repos of private/limited org #11656

Merged
merged 11 commits into from
May 29, 2020
Prev Previous commit
Next Next commit
fix import sort
  • Loading branch information
CirnoT committed May 28, 2020
commit 2f712143f71ecb932bf9b4e8bb1acba3401dea61
2 changes: 1 addition & 1 deletion routers/repo/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ package repo

import (
"bytes"
"code.gitea.io/gitea/modules/structs"
"compress/gzip"
gocontext "context"
"fmt"
Expand All @@ -30,6 +29,7 @@ import (
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/process"
"code.gitea.io/gitea/modules/setting"
"code.gitea.io/gitea/modules/structs"
"code.gitea.io/gitea/modules/timeutil"
repo_service "code.gitea.io/gitea/services/repository"
)
Expand Down