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
Ship Agents Faster Icon
Ship Agents Faster

Transform your applications and workflows into powerful agentic systems at global scale.

Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Get Started 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