mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-04 05:18:25 +00:00 
			
		
		
		
	Permissions bug fix for webhooks
This commit is contained in:
		
				
					committed by
					
						
						Kim "BKC" Carlbäcker
					
				
			
			
				
	
			
			
			
						parent
						
							c22f9114c7
						
					
				
				
					commit
					35d9378e4e
				
			@@ -269,7 +269,7 @@ func RegisterRoutes(m *macaron.Macaron) {
 | 
			
		||||
					m.Combo("/:id").Get(repo.GetHook).
 | 
			
		||||
						Patch(bind(api.EditHookOption{}), repo.EditHook).
 | 
			
		||||
						Delete(repo.DeleteHook)
 | 
			
		||||
				})
 | 
			
		||||
				}, reqRepoWriter())
 | 
			
		||||
				m.Group("/collaborators", func() {
 | 
			
		||||
					m.Get("", repo.ListCollaborators)
 | 
			
		||||
					m.Combo("/:collaborator").Get(repo.IsCollaborator).
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user