[Feature] Add navigation guard to secure routes via route metadata #607
Labels
Priority: Low
The issue contains work with low priority.
Template: Frontend
Issues regarding the frontend template.
Type: Feature
The issue is an feature
Relevant template
refarch-frontend
Problem description (optional)
Currently there is no out-of-the-box mechanism to secure routing to unauthorized routes.
Desired solution
We should add a global route guard which inspects potential metadata attached to the routes to secure the route navigation.
We could add metadata like
roles
orauthorities
to the routes.Considered alternatives (optional)
No response
Additional context (optional)
No response
No duplicate
Code of Conduct
The text was updated successfully, but these errors were encountered: