mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	Add API to check if team has repo access (#19540)
* Add API to check if team has repo access * Add test case
This commit is contained in:
		| @@ -1121,7 +1121,8 @@ func Routes() *web.Route { | ||||
| 				m.Get("", org.GetTeamRepos) | ||||
| 				m.Combo("/{org}/{reponame}"). | ||||
| 					Put(org.AddTeamRepository). | ||||
| 					Delete(org.RemoveTeamRepository) | ||||
| 					Delete(org.RemoveTeamRepository). | ||||
| 					Get(org.GetTeamRepo) | ||||
| 			}) | ||||
| 		}, orgAssignment(false, true), reqToken(), reqTeamMembership()) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user