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

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

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.
Start 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