diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-09-12 21:36:26 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-09-12 21:36:26 -0400 |
commit | a2cac952a411ab1d1159bdaaf144fbb39a355010 (patch) | |
tree | aa9b8f32d80b1f5df1744865b61c87b8e0bebfe9 /modules | |
parent | bba401a5dcf8af2fdc4c7c05b11db100019ee4fa (diff) | |
download | gitea-a2cac952a411ab1d1159bdaaf144fbb39a355010.tar.gz gitea-a2cac952a411ab1d1159bdaaf144fbb39a355010.zip |
Prepare 0.5 release
Diffstat (limited to 'modules')
-rw-r--r-- | modules/middleware/repo.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |