forked from forgejo/forgejo
Prepare 0.5 release
This commit is contained in:
parent
bba401a5dc
commit
a2cac952a4
4 changed files with 14 additions and 26 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue