angular-rbac your lightweight RBAC library for angular projects
Fateh Mohamed
AI agents enthusiasts and Senior Javascript/Typescript engineer (Angular/React)
For a complete access control for your application, you will probably need two things:
angular-rbac provides all the above features through:
CanAccessDirective Directive for DOM control
Three prebuilt RBAC guards
angular-rbac guards take the allowed roles and permissions to access a specific route, the redirectUrl in case of failure and boolean for skipLocationChange
Check it out