Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ca4eb94

Browse files
fix build error caused by changed function name
1 parent 2d2d4ba commit ca4eb94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎services/context/repo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ func repoAssignment(ctx *Context, repo *repo_model.Repository) {
387387
}
388388
}
389389

390-
if !ctx.Repo.Permission.HasAnyUnitAccessOrPublicAccess() && !canWriteAsMaintainer(ctx) {
390+
if !ctx.Repo.Permission.HasAnyUnitAccessOrEveryoneAccess() && !canWriteAsMaintainer(ctx) {
391391
if ctx.FormString("go-get") == "1" {
392392
EarlyResponseForGoGetMeta(ctx)
393393
return

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /