|  | @ -81,7 +81,7 @@ impl UserOrgType { | 
			
		
	
		
		
			
				
					|  |  | impl Ord for UserOrgType { |  |  | impl Ord for UserOrgType { | 
			
		
	
		
		
			
				
					|  |  |     fn cmp(&self, other: &UserOrgType) -> Ordering { |  |  |     fn cmp(&self, other: &UserOrgType) -> Ordering { | 
			
		
	
		
		
			
				
					|  |  |         // For easy comparison, map each variant to an access level (where 0 is lowest).
 |  |  |         // For easy comparison, map each variant to an access level (where 0 is lowest).
 | 
			
		
	
		
		
			
				
					
					|  |  |         static ACCESS_LEVEL: [i32; 4] = [ |  |  |         const ACCESS_LEVEL: [i32; 4] = [ | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |             3, // Owner
 |  |  |             3, // Owner
 | 
			
		
	
		
		
			
				
					|  |  |             2, // Admin
 |  |  |             2, // Admin
 | 
			
		
	
		
		
			
				
					|  |  |             0, // User
 |  |  |             0, // User
 | 
			
		
	
	
		
		
			
				
					|  | @ -197,7 +197,7 @@ impl Organization { | 
			
		
	
		
		
			
				
					|  |  | // The number 128 should be fine, it is well within the range of an i32
 |  |  | // The number 128 should be fine, it is well within the range of an i32
 | 
			
		
	
		
		
			
				
					|  |  | // The same goes for the database where we only use INTEGER (the same as an i32)
 |  |  | // The same goes for the database where we only use INTEGER (the same as an i32)
 | 
			
		
	
		
		
			
				
					|  |  | // It should also provide enough room for 100+ types, which i doubt will ever happen.
 |  |  | // It should also provide enough room for 100+ types, which i doubt will ever happen.
 | 
			
		
	
		
		
			
				
					
					|  |  | static ACTIVATE_REVOKE_DIFF: i32 = 128; |  |  | const ACTIVATE_REVOKE_DIFF: i32 = 128; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  | impl UserOrganization { |  |  | impl UserOrganization { | 
			
		
	
		
		
			
				
					|  |  |     pub fn new(user_uuid: String, org_uuid: String) -> Self { |  |  |     pub fn new(user_uuid: String, org_uuid: String) -> Self { | 
			
		
	
	
		
		
			
				
					|  | 
 |