Mirror fix on UI
This commit is contained in:
parent
a9e6d49dc6
commit
e10096ee2e
5 changed files with 8 additions and 4 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue