Angular2 Router CanActivate, with Parameters?
问题 i've seen some issues on this specific issue. I'm lately only working on angular2 projects. Anyhow I'm rolling into an issue right now. In the deprecated Router I added my User Role in the data part of the route, I had overriden the routerOutlet so I could check this value before activating a route). Currently we can conform to the CanActivate Class/Interface row w/e we can call it. Right now I would like to be able to provide Permissions (which I've slapped into an Enum) to such CanActivate