Concept Flow - Role-based authorization
User sends request with JWT token
Extract user roles from token
Check required roles for route
Compare user roles with required roles
Allow access
Send response
The system checks the user's roles from their token and compares them to the roles required by the route to decide access.