magneticio / vamp-ui

Vamp's user interface
14 stars 7 forks source link

VE-329 redirect to gateways/workflows when not authorized to read dep… #445

Closed bloeder closed 5 years ago

bloeder commented 5 years ago

…loyments/gateways

VE-329 redirect to gateways/workflows when not authorized to read deployments/gateways

https://magneticio.atlassian.net/browse/VE-329

bloeder commented 5 years ago

This is not a proper solution. Ideally the auth check should be done in router middleware and then depending on authorized or not redirect state change to proper route. I could not get this to work.