Mirror fix on UI

This commit is contained in:
Unknown 2014-05-02 19:23:06 -04:00
parent a9e6d49dc6
commit e10096ee2e
5 changed files with 8 additions and 4 deletions

View file

@ -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)