mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	getting the tag list does not require being signed in (#24413)
Fixes: https://codeberg.org/forgejo/forgejo/issues/681
This commit is contained in:
		@@ -1093,7 +1093,7 @@ func registerRoutes(m *web.Route) {
 | 
				
			|||||||
			repo.MustBeNotEmpty, reqRepoCodeReader, context.RepoRefByType(context.RepoRefTag, true))
 | 
								repo.MustBeNotEmpty, reqRepoCodeReader, context.RepoRefByType(context.RepoRefTag, true))
 | 
				
			||||||
		m.Post("/tags/delete", repo.DeleteTag, reqSignIn,
 | 
							m.Post("/tags/delete", repo.DeleteTag, reqSignIn,
 | 
				
			||||||
			repo.MustBeNotEmpty, context.RepoMustNotBeArchived(), reqRepoCodeWriter, context.RepoRef())
 | 
								repo.MustBeNotEmpty, context.RepoMustNotBeArchived(), reqRepoCodeWriter, context.RepoRef())
 | 
				
			||||||
	}, reqSignIn, context.RepoAssignment, context.UnitTypes())
 | 
						}, ignSignIn, context.RepoAssignment, context.UnitTypes())
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// Releases
 | 
						// Releases
 | 
				
			||||||
	m.Group("/{username}/{reponame}", func() {
 | 
						m.Group("/{username}/{reponame}", func() {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user