I've been searching for a solution to this problem for the past 4 hours with no luck.
I have multiple Authguards set up, and I want to instruct the router to grant permission if any of them are true, rather than requiring all guards to be true. Currently, Angular 2 router checks each guard individually before granting permission or blocking access to the link. Is there a better way to approach this issue? Creating several Authentication guards doesn't seem like an ideal solution.
For instance, I want the /profile
page to only be accessible by admin and super-user roles, not regular users.