Role-based authorization in React | Dark Hacker News