FastAPI - Authentication and Security
Given this FastAPI endpoint with role check dependency:
async def get_admin_data(admin: None = Depends(admin_required)):
return {"data": "secret"}
What happens if a user with role 'user' calls this endpoint?