KN4CK3R  
		
	
	7690de56f7 
	
	
	Simplify visibility checks ( #20406 )  
		
			... 
			Was looking into the visibility checks because I need them for something different and noticed the checks are more complicated than they have to be.
The rule is just: user/org is visible if
- The doer is a member of the org, regardless of the org visibility
- The doer is not restricted and the user/org is public or limited 
		
	 
 
		2022-07-21 11:41:50 +01:00 
	 
	
	
	
		  ..
	 
	
	
		
			
			
			
			
			
			2022-06-20 12:02:49 +02:00 
		 
	
		
			
			
			
			
			
			2021-10-21 17:22:43 +08:00 
		 
	
		
			
			
			
			
			
			2022-06-20 12:02:49 +02:00 
		 
	
		
			
			
			
			
			
			2022-06-20 12:02:49 +02:00 
		 
	
		
			
			
			
			
			
			2022-01-20 18:46:10 +01:00 
		 
	
		
			
			
			
			
			
			2022-07-12 23:32:37 +02:00 
		 
	
		
			
			
			
			
			
			2022-06-04 19:30:01 +01:00 
		 
	
		
			
			
			
			
			
			2022-03-17 18:08:35 +01:00 
		 
	
		
			
			
			
			
			
			2022-06-20 12:02:49 +02:00 
		 
	
		
			
			
			
			
			
			2022-07-19 15:20:28 +02:00 
		 
	
		
			
			
			
			
			
			2022-07-15 14:01:32 +01:00 
		 
	
		
			
			
			
			
			
			2022-07-14 18:00:10 +02:00 
		 
	
		
			
			
			
			
			
			2022-07-14 08:22:09 +01:00 
		 
	
		
			
			
			
			
			
			2022-07-11 13:48:43 +02:00 
		 
	
		
			
			
			
			
			
			2022-07-14 08:22:09 +01:00 
		 
	
		
			
			
			
			
			
			2022-05-08 15:46:34 +02:00 
		 
	
		
			
			
			
			
			
			2022-07-14 18:00:10 +02:00 
		 
	
		
			
			
			
			
			
			2022-06-20 12:02:49 +02:00 
		 
	
		
			
			
			
			
			
			2022-07-08 16:09:07 +08:00 
		 
	
		
			
			
			
			
			
			2022-07-21 11:41:50 +01:00 
		 
	
		
			
			
			
			
			
			2022-06-20 12:02:49 +02:00 
		 
	
		
			
			
			
			
			
			2022-05-20 22:08:52 +08:00 
		 
	
		
			
			
			
			
			
			2022-06-13 17:37:59 +08:00 
		 
	
		
			
			
			
			
			
			2022-07-01 17:04:01 +01:00 
		 
	
		
			
			
			
			
			
			2022-06-13 17:37:59 +08:00 
		 
	
		
			
			
			
			
			
			2022-06-13 17:37:59 +08:00 
		 
	
		
			
			
			
			
			
			2022-05-11 12:09:36 +02:00 
		 
	
		
			
			
			
			
			
			2021-11-12 22:36:47 +08:00 
		 
	
		
			
			
			
			
			
			2022-06-13 17:37:59 +08:00 
		 
	
		
			
			
			
			
			
			2022-06-13 17:37:59 +08:00 
		 
	
		
			
			
			
			
			
			2022-06-13 17:37:59 +08:00 
		 
	
		
			
			
			
			
			
			2022-06-13 17:37:59 +08:00 
		 
	
		
			
			
			
			
			
			2022-06-20 12:02:49 +02:00 
		 
	
		
			
			
			
			
			
			2022-05-11 12:09:36 +02:00 
		 
	
		
			
			
			
			
			
			2022-06-13 17:37:59 +08:00 
		 
	
		
			
			
			
			
			
			2022-06-15 09:02:00 +02:00 
		 
	
		
			
			
			
			
			
			2022-06-25 17:50:12 -05:00 
		 
	
		
			
			
			
			
			
			2022-06-20 12:02:49 +02:00 
		 
	
		
			
			
			
			
			
			2022-06-13 17:37:59 +08:00 
		 
	
		
			
			
			
			
			
			2022-06-15 09:02:00 +02:00 
		 
	
		
			
			
			
			
			
			2022-06-13 17:37:59 +08:00 
		 
	
		
			
			
			
			
			
			2022-06-15 09:02:00 +02:00 
		 
	
		
			
			
			
			
			
			2021-12-10 09:27:50 +08:00 
		 
	
		
			
			
			
			
			
			2022-06-13 17:37:59 +08:00 
		 
	
		
			
			
			
			
			
			2022-07-14 08:22:09 +01:00 
		 
	
		
			
			
			
			
			
			2022-06-20 12:02:49 +02:00 
		 
	
		
			
			
			
			
			
			2022-06-24 15:51:37 +02:00 
		 
	
		
			
			
			
			
			
			2021-11-17 20:34:35 +08:00 
		 
	
		
			
			
			
			
			
			2022-01-26 12:10:10 +08:00 
		 
	
		
			
			
			
			
			
			2021-11-21 23:41:00 +08:00 
		 
	
		
			
			
			
			
			
			2022-03-13 17:40:47 +01:00 
		 
	
		
			
			
			
			
			
			2022-03-29 14:29:02 +08:00 
		 
	
		
			
			
			
			
			
			2022-07-14 08:22:09 +01:00