Question · NestJS course · Module 4: Authentication
Purpose of Role-based Authorization
What is the main purpose of Role-based Authorization (RBAC)?
Answer options
- Encrypting user passwords
- Controlling access based on the user's role in the system
- Generating JWT tokens
- Validating email addresses
You can check the correct answer by solving this task in the CodeWorlds game.