summaryrefslogtreecommitdiffstats
path: root/modules/middleware/repo.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/middleware/repo.go')
-rw-r--r--modules/middleware/repo.go1
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)