mirror of
https://github.com/go-gitea/gitea.git
synced 2026-07-14 22:37:14 +02:00
fix a few more build errors
This commit is contained in:
@@ -208,7 +208,7 @@ func repoAssignment() func(ctx *context.APIContext) {
|
||||
}
|
||||
}
|
||||
|
||||
if !ctx.Repo.Permission.HasAnyUnitAccessOrPublicAccess() {
|
||||
if !ctx.Repo.Permission.HasAnyUnitAccessOrEveryoneAccess() {
|
||||
ctx.APIErrorNotFound()
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user