To restrict access to child routes based on user roles, you can implement a custom _____ Guard.

  • authentication
  • canActivate
  • canDeactivate
  • role
To restrict access based on user roles, you can implement a custom canActivate Guard. A Guard like this checks whether the user has the required role to access the route.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *