CASL is an isomorphic authorization JavaScript library that restricts what resources a given user is allowed to access. It's designed to be incrementally adoptable and can easily scale between a simple claim-based and fully featured subject and attribute-based authorization. It makes it easy to manage and share permissions across UI components, API services, and database queries.
Features
- An incrementally adoptable and can easily scale between a simple claim based and fully featured subject and attribute based authorization
- Can be used on frontend and backend and complementary packages make integration with major Frontend Frameworks and Backend ORMs effortless
- Written in TypeScript, what makes your apps safer and developer experience more enjoyable
- The core is only 6KB mingzipped and can be even smaller
- Documentation available
- Thanks to declarative rules, you can serialize and share permissions between UI and API or microservices
Categories
RBACLicense
MIT LicenseFollow CASL
You Might Also Like
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of CASL!