mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-05 06:05:30 +02:00
Merge branch 'access' of github.com:gogits/gogs into access
This commit is contained in:
commit
10e4b5b6c6
14 files changed
+164
-139
No files matched your search
@@ -12,7 +12,7 @@ import (
|
||||
)
|
||||
|
||||
func GetRepoRawFile(ctx *middleware.Context) {
|
||||
if ctx.Repo.Repository.IsPrivate && !ctx.Repo.HasAccess {
|
||||
if !ctx.Repo.HasAccess() {
|
||||
ctx.Error(404)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user