learnhubmk / app

The frontend app for LearnHub.mk
https://learnhub.mk
MIT License
6 stars 0 forks source link

[FE] Implement Role-Based Middleware for Page Authorization #444

Open edichoska opened 2 weeks ago

edichoska commented 2 weeks ago

Business Requirement We need to implement middleware that hides or shows pages based on the logged-in user's role to ensure role-based access control across the application.

Acceptance Criteria

Documentation: https://nextjs.org/docs/app/building-your-application/routing/middleware