Skip to content

Commit e58189e

Browse files
committed
fix
1 parent 0e83e04 commit e58189e

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
@@ -374,7 +374,7 @@ func repoAssignment(ctx *Context, repo *repo_model.Repository) {
374374
return
375375
}
376376

377-
if !canWriteAsMaintainer(ctx) && !ctx.Repo.Permission.HasAnyUnitAccessOrEveryoneAccess() {
377+
if !ctx.Repo.Permission.HasAnyUnitAccessOrEveryoneAccess() && !canWriteAsMaintainer(ctx) {
378378
if ctx.FormString("go-get") == "1" {
379379
EarlyResponseForGoGetMeta(ctx)
380380
return

0 commit comments

Comments
 (0)