Edward Zhang 
		02e183bf3f 
		
			
		
	 
	
	
	Fix branch_protection api shows users/teams who has no readAccess ( #30291 ) ... 
			Add some logic in `convert.ToBranchProtection` to return only the names
associated with readAccess instead of returning all names. This will
ensure consistency in behavior between the frontend and backend.
Fixes : #27694 
---------
Co-authored-by: techknowlogick <techknowlogick@gitea.com>
Co-authored-by: wenzhuo.zhang <wenzhuo.zhang@geely.com>
Co-authored-by: Giteabot <teabot@gitea.io> 
		
	 
		2024-04-17 15:24:07 +02:00 
	 
	
	
		 
	
	
		
			
			
			
			
			
			2024-03-28 20:40:35 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-27 08:12:22 +01:00 
		 
	
		
			
			
			
			
			
			2024-02-27 08:12:22 +01:00 
		 
	
		
			
			
			
			
			
			2024-04-17 15:24:07 +02:00 
		 
	
		
			
			
			
			
			
			2024-03-04 08:16:03 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-27 08:12:22 +01:00 
		 
	
		
			
			
			
			
			
			2024-04-16 11:45:04 +08:00 
		 
	
		
			
			
			
			
			
			2024-03-26 15:48:53 +08:00 
		 
	
		
			
			
			
			
			
			2024-03-04 08:16:03 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-27 08:12:22 +01:00 
		 
	
		
			
			
			
			
			
			2024-02-27 08:12:22 +01:00 
		 
	
		
			
			
			
			
			
			2024-02-27 08:12:22 +01:00 
		 
	
		
			
			
			
			
			
			2024-02-27 08:12:22 +01:00 
		 
	
		
			
			
			
			
			
			2024-04-08 21:26:41 +00:00 
		 
	
		
			
			
			
			
			
			2024-03-04 08:16:03 +00:00 
		 
	
		
			
			
			
			
			
			2024-03-12 07:23:44 +00:00 
		 
	
		
			
			
			
			
			
			2024-04-08 21:26:41 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-27 08:12:22 +01:00 
		 
	
		
			
			
			
			
			
			2024-04-08 21:26:41 +00:00 
		 
	
		
			
			
			
			
			
			2024-03-04 08:16:03 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-27 08:12:22 +01:00 
		 
	
		
			
			
			
			
			
			2024-02-27 08:12:22 +01:00 
		 
	
		
			
			
			
			
			
			2024-04-08 21:26:41 +00:00 
		 
	
		
			
			
			
			
			
			2024-04-08 21:26:41 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-27 08:12:22 +01:00 
		 
	
		
			
			
			
			
			
			2024-02-27 08:12:22 +01:00 
		 
	
		
			
			
			
			
			
			2024-02-27 08:12:22 +01:00 
		 
	
		
	
		
			
			
			
			
			
			2024-02-27 08:12:22 +01:00 
		 
	
		
			
			
			
			
			
			2024-03-02 16:42:31 +01:00 
		 
	
		
			
			
			
			
			
			2024-02-27 08:12:22 +01:00 
		 
	
		
			
			
			
			
			
			2024-02-27 08:12:22 +01:00 
		 
	
		
			
			
			
			
			
			2024-02-27 08:12:22 +01:00 
		 
	
		
			
			
			
			
			
			2024-03-28 15:19:24 +00:00 
		 
	
		
			
			
			
			
			
			2024-03-21 15:07:35 +00:00 
		 
	
		
			
			
			
			
			
			2024-03-02 17:02:01 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-27 08:12:22 +01:00 
		 
	
		
			
			
			
			
			
			2024-03-03 16:49:05 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-27 08:12:22 +01:00 
		 
	
		
			
			
			
			
			
			2024-04-01 13:48:14 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-27 08:12:22 +01:00 
		 
	
		
			
			
			
			
			
			2024-02-27 08:12:22 +01:00 
		 
	
		
			
			
			
			
			
			2024-03-06 12:17:19 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-27 08:12:22 +01:00 
		 
	
		
			
			
			
			
			
			2024-02-27 08:12:22 +01:00 
		 
	
		
			
			
			
			
			
			2024-02-27 08:12:22 +01:00 
		 
	
		
			
			
			
			
			
			2024-03-29 11:38:16 +08:00 
		 
	
		
			
			
			
			
			
			2024-03-04 08:16:03 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-27 08:12:22 +01:00 
		 
	
		
			
			
			
			
			
			2024-02-27 08:12:22 +01:00