mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	milestone: list view
This commit is contained in:
		@@ -348,7 +348,7 @@ func RepoAssignment(redirect bool, args ...bool) macaron.Handler {
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func RequireAdmin() macaron.Handler {
 | 
			
		||||
func RequireRepoAdmin() macaron.Handler {
 | 
			
		||||
	return func(ctx *Context) {
 | 
			
		||||
		if ctx.Repo.AccessMode < models.ACCESS_MODE_ADMIN {
 | 
			
		||||
			if !ctx.IsSigned {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user