Added authentication and authorization, updated dependency injections, removed hard-coded connection string
This commit is contained in:
		
							
								
								
									
										13
									
								
								SchengenVisaApi/Domains/Users/Role.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								SchengenVisaApi/Domains/Users/Role.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| namespace Domains.Users | ||||
| { | ||||
|     /// Role of <see cref="User"/> | ||||
|     public enum Role | ||||
|     { | ||||
|         /// Requests visa applications | ||||
|         Applicant, | ||||
|         /// Approves or declines applications | ||||
|         ApprovingAuthority, | ||||
|         /// Manages approving authorities | ||||
|         Admin | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user