From a2cac952a411ab1d1159bdaaf144fbb39a355010 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Fri, 12 Sep 2014 21:36:26 -0400 Subject: Prepare 0.5 release --- modules/middleware/repo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/middleware/repo.go b/modules/middleware/repo.go index 68a9a2d7fb..82ef3c799e 100644 --- a/modules/middleware/repo.go +++ b/modules/middleware/repo.go @@ -109,7 +109,7 @@ func RepoAssignment(redirect bool, args ...bool) macaron.Handler { } // Check if current user has admin permission to repository. if u.IsOrganization() { - auth, err := models.GetHighestAuthorize(u.Id, ctx.User.Id, 0, repo.Id) + auth, err := models.GetHighestAuthorize(u.Id, ctx.User.Id, repo.Id, 0) if err != nil { ctx.Handle(500, "GetHighestAuthorize", err) return -- cgit v1.2.3