How to restrict particular set of users accessing/visiting a page (generic way) in an Angular application?
you can refer this article https://jasonwatmore.com/post/2019/08/06/angular-8-role-based-authorization-tutorial-with-example