mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Prepare 0.5 release
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user