An authorization-as-a-service solution that can be used with Angular
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
CASL is an isomorphic authorization JavaScript library which restricts what resources a given user is allowed to access
Permission and roles based access control for your angular(angular 2,4,5,6,7,9+) applications(AOT, lazy modules compatible
The ultimate composable middleware engine for Angular. Protect routes & HTTP requests with 30+ built-in security guards for Auth, RBAC, CSRF, Rate Limiting, & Zero Trust.
ngx-smart-permissions is a lightweight Angular library designed to manage role-based and permission-based access control in Angular applications. It provides a straightforward way to control UI visibility and route access based on user permissions and roles, supporting both standalone components and NgModules for modern Angular development. ## Key Features - **Permission Directives** — Use `*ngxHasPermission` and `*ngxHasRole` directives to conditionally show or hide UI elements based on user permissions or roles. - **Route Guard** — Built-in permission guard to protect routes and control navigation access. - **Live Permission Switching** — Dynamically update permissions at runtime, ideal for testing or admin scenarios. - **Super Admin Support** — Special handling for super admin users with full access. - **Lazy Loading Compatibility** — Works seamlessly with lazy-loaded modules. - **Standalone Component Support** — Fully compatible with Angular's standalone components. ## Philosophy The library is designed to be lightweight, tree-shakable, and side-effect free, providing a simple yet powerful API for access control without unnecessary complexity.