mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-29 10:57:44 +09:00 
			
		
		
		
	hide issues from org private repos w/o team assignment (#4034)
This commit is contained in:
		
				
					committed by
					
						 techknowlogick
						techknowlogick
					
				
			
			
				
	
			
			
			
						parent
						
							46d19c4676
						
					
				
				
					commit
					0b3ea42847
				
			| @@ -203,7 +203,11 @@ func Issues(ctx *context.Context) { | ||||
| 			return | ||||
| 		} | ||||
| 	} else { | ||||
| 		userRepoIDs, err = ctxUser.GetAccessRepoIDs() | ||||
| 		unitType := models.UnitTypeIssues | ||||
| 		if isPullList { | ||||
| 			unitType = models.UnitTypePullRequests | ||||
| 		} | ||||
| 		userRepoIDs, err = ctxUser.GetAccessRepoIDs(unitType) | ||||
| 		if err != nil { | ||||
| 			ctx.ServerError("ctxUser.GetAccessRepoIDs", err) | ||||
| 			return | ||||
|   | ||||
		Reference in New Issue
	
	Block a user