Anders Kaseorg  
		
	
	9198fe4fac 
	
	
	scim: Downgrade SCIMClient from a model to an ephemeral dataclass.  
		
			... 
			SCIMClient is a type-unsafe workaround for django-scim2’s conflation
of SCIM users with Django users.  Given that a SCIMClient is not a
UserProfile, it might as well not be a model at all, since it’s only
used to satisfy django-scim2’s request.user.is_authenticated queries.
This doesn’t solve the type safety issue with assigning a SCIMClient
to request.user, nor the performance issue with running the SCIM
middleware on non-SCIM requests.  But it reduces the risk of potential
consequences worse than crashing, since there’s no longer a
request.user.id for Django to confuse with the ID of an actual
UserProfile.
Signed-off-by: Anders Kaseorg <anders@zulip.com > 
		
	 
 
		2022-09-26 11:36:48 -07:00 
	 
	
	
	
		  ..
	 
	
	
		
			
			
			
			
			
			2022-09-08 20:23:28 -07:00 
		 
	
		
			
			
			
			
			
			2022-03-15 12:47:21 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2022-06-06 23:06:00 -07:00 
		 
	
		
			
			
			
			
			
			2022-06-06 23:06:00 -07:00 
		 
	
		
			
			
			
			
			
			2022-07-31 18:32:28 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-08 20:23:28 -07:00 
		 
	
		
			
			
			
			
			
			2022-08-09 17:05:38 -07:00 
		 
	
		
			
			
			
			
			
			2022-04-15 14:48:12 -07:00 
		 
	
		
			
			
			
			
			
			2022-02-18 18:03:13 -08:00 
		 
	
		
			
			
			
			
			
			2022-06-06 23:06:00 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-20 17:03:57 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2022-09-14 09:40:46 -07:00 
		 
	
		
			
			
			
			
			
			2022-06-01 16:09:13 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-19 20:17:17 -07:00 
		 
	
		
			
			
			
			
			
			2022-07-26 18:00:24 -07:00 
		 
	
		
			
			
			
			
			
			2022-08-08 15:37:41 -07:00 
		 
	
		
			
			
			
			
			
			2022-07-21 15:25:11 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-16 18:07:28 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-13 11:05:37 -07:00 
		 
	
		
			
			
			
			
			
			2021-12-10 09:40:04 -08:00 
		 
	
		
			
			
			
			
			
			2022-09-20 15:20:36 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-20 15:20:36 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-23 12:27:54 -07:00 
		 
	
		
			
			
			
			
			
			2022-05-03 08:45:51 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-13 11:05:37 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2022-08-29 15:18:00 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-08 20:23:28 -07:00 
		 
	
		
			
			
			
			
			
			2022-04-14 17:14:35 -07:00 
		 
	
		
			
			
			
			
			
			2022-06-08 11:25:03 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-23 12:27:54 -07:00 
		 
	
		
			
			
			
			
			
			2022-06-23 19:23:08 -07:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2022-09-13 11:05:37 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-01 14:18:38 -07:00 
		 
	
		
			
			
			
			
			
			2022-08-22 15:46:16 -07:00 
		 
	
		
			
			
			
			
			
			2022-08-29 10:39:14 -07:00 
		 
	
		
			
			
			
			
			
			2022-08-24 16:29:09 -07:00 
		 
	
		
			
			
			
			
			
			2021-12-06 13:22:47 -08:00 
		 
	
		
			
			
			
			
			
			2022-05-31 09:43:55 -07:00 
		 
	
		
			
			
			
			
			
			2022-03-09 16:33:51 -08:00 
		 
	
		
			
			
			
			
			
			2022-09-01 14:18:38 -07:00 
		 
	
		
			
			
			
			
			
			2022-08-15 17:14:17 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-06 16:06:58 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-13 11:05:37 -07:00 
		 
	
		
			
			
			
			
			
			2022-08-09 17:05:38 -07:00 
		 
	
		
			
			
			
			
			
			2022-04-14 17:14:34 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-13 11:36:52 -07:00 
		 
	
		
			
			
			
			
			
			2022-03-07 15:33:29 -08:00 
		 
	
		
			
			
			
			
			
			2022-04-14 17:14:34 -07:00 
		 
	
		
			
			
			
			
			
			2022-05-31 09:43:55 -07:00 
		 
	
		
			
			
			
			
			
			2022-06-06 23:06:00 -07:00 
		 
	
		
			
			
			
			
			
			2022-07-13 16:07:17 -07:00 
		 
	
		
			
			
			
			
			
			2022-01-03 09:55:06 -08:00 
		 
	
		
	
		
			
			
			
			
			
			2022-08-16 13:37:52 -07:00 
		 
	
		
			
			
			
			
			
			2022-06-01 16:01:54 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2022-05-17 13:51:00 -07:00 
		 
	
		
			
			
			
			
			
			2022-04-25 16:16:15 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-23 12:27:54 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-01 14:18:38 -07:00 
		 
	
		
			
			
			
			
			
			2022-04-20 13:31:37 -07:00 
		 
	
		
			
			
			
			
			
			2022-01-21 13:38:13 -08:00 
		 
	
		
			
			
			
			
			
			2022-08-10 16:30:39 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-13 11:05:37 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-16 16:19:54 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-16 15:27:52 -07:00 
		 
	
		
			
			
			
			
			
			2022-08-09 14:44:28 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-16 14:54:45 -07:00 
		 
	
		
			
			
			
			
			
			2022-06-06 23:06:00 -07:00 
		 
	
		
			
			
			
			
			
			2022-04-14 17:14:30 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-16 15:27:52 -07:00 
		 
	
		
			
			
			
			
			
			2022-06-23 22:05:12 -07:00 
		 
	
		
			
			
			
			
			
			2022-02-07 18:51:06 -08:00 
		 
	
		
			
			
			
			
			
			2022-09-01 14:18:38 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-09 16:57:24 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-26 11:36:48 -07:00 
		 
	
		
			
			
			
			
			
			2022-07-15 14:00:56 -07:00 
		 
	
		
			
			
			
			
			
			2022-08-25 12:13:03 -07:00 
		 
	
		
			
			
			
			
			
			2022-08-22 15:46:16 -07:00 
		 
	
		
			
			
			
			
			
			2022-04-28 12:34:29 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-09 16:30:54 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-19 14:12:32 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-17 12:04:07 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2022-04-14 17:14:31 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2022-04-14 17:14:30 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-16 17:51:34 -07:00 
		 
	
		
			
			
			
			
			
			2022-06-26 17:36:31 -07:00 
		 
	
		
			
			
			
			
			
			2022-05-30 11:59:47 -07:00 
		 
	
		
			
			
			
			
			
			2022-04-07 17:26:01 -07:00 
		 
	
		
			
			
			
			
			
			2022-02-24 14:05:12 -08:00 
		 
	
		
			
			
			
			
			
			2022-07-13 16:07:17 -07:00 
		 
	
		
			
			
			
			
			
			2022-07-05 17:54:17 -07:00 
		 
	
		
			
			
			
			
			
			2022-06-23 19:22:12 -07:00 
		 
	
		
			
			
			
			
			
			2022-04-14 17:14:34 -07:00 
		 
	
		
			
			
			
			
			
			2022-05-27 17:06:03 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-01 14:18:38 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-06 14:57:06 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-13 11:05:37 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-23 12:27:54 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-12 14:29:11 -07:00 
		 
	
		
			
			
			
			
			
			2022-05-13 20:42:20 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-13 11:05:37 -07:00 
		 
	
		
			
			
			
			
			
			2022-06-06 23:06:00 -07:00 
		 
	
		
			
			
			
			
			
			2022-08-12 17:08:04 -07:00