diff options
author | Unknown <joe2010xtmf@163.com> | 2014-05-02 19:23:06 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-05-02 19:23:06 -0400 |
commit | e10096ee2e7985cfd73553f52b09994af025cd93 (patch) | |
tree | e04108974c3960c4cdaac7c26b3ca198869d8772 /modules/middleware/repo.go | |
parent | a9e6d49dc6f7070538ac24de2134b3dcba8d9e87 (diff) | |
download | gitea-e10096ee2e7985cfd73553f52b09994af025cd93.tar.gz gitea-e10096ee2e7985cfd73553f52b09994af025cd93.zip |
Mirror fix on UI
Diffstat (limited to 'modules/middleware/repo.go')
-rw-r--r-- | modules/middleware/repo.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/middleware/repo.go b/modules/middleware/repo.go index c31090b4d5..f681ac139a 100644 --- a/modules/middleware/repo.go +++ b/modules/middleware/repo.go @@ -45,6 +45,7 @@ func RepoAssignment(redirect bool, args ...bool) martini.Handler { repoName := params["reponame"] refName := params["branchname"] + // TODO: check collaborators // get repository owner ctx.Repo.IsOwner = ctx.IsSigned && ctx.User.LowerName == strings.ToLower(userName) |