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

Project Samples

Project Activity

See All Activity >

Categories

RBAC

License

MIT License

Follow CASL

CASL Web Site

Other Useful Business Software
Stop Storing Third-Party Tokens in Your Database Icon
Stop Storing Third-Party Tokens in Your Database

Auth0 Token Vault handles secure token storage, exchange, and refresh for external providers so you don't have to build it yourself.

Rolling your own OAuth token storage can be a security liability. Token Vault securely stores access and refresh tokens from federated providers and handles exchange and renewal automatically. Connected accounts, refresh exchange, and privileged worker flows included.
Try Auth0 for Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of CASL!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript RBAC Tool

Registered

2024-12-05