learnhubmk / app

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

[FE] Implement Protected Routes #285

Open edichoska opened 3 months ago

edichoska commented 3 months ago

Use the Auth Context to create protected pages. Those would be pages that only if the logged in user has that particulat role could access. Example user with role admin could visit the admin-dashboard; user with role content-manager can visit the page content-panel.

Connected to #382

stefanatanasovmk commented 1 month ago

Issue is resolved in ticket #382