gdgpescara / hedwig

Other
20 stars 13 forks source link

BO02 - Create a route to the BackOffice, allowed to Organizers only #127

Open gregoriopalama opened 6 months ago

gregoriopalama commented 6 months ago

After a User is logged in, if he has the Organizer role, the application should provide a link to the BackOffice.

All of the BackOffice's routes must be protected and allowed to Organizers only: the user must have the user custom claim { organizer: true }.

If a user without the required role tries to navigate to one of the BackOffice's routes, the application must redirect to the home page or to a 404 page.

Depends on #126.

valekuro commented 2 months ago

I'm taking care of this task

valekuro commented 2 months ago

https://github.com/gdgpescara/hedwig/pull/234