CASL (pronounced /ˈkæsəl/, like castle) is an isomorphic authorization JavaScript library which 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.
CASL does not have a concept of "a role" and this makes it very powerful! As CASL allows to describe user abilities in your application, you can use it to: Implement feature toggles Hide unfinished feature or show it to beta testers only. Conduct A/B testing Based on age, region, country or whatever hide features for some users and show for others
CASL.js is an MIT licensed open source project and completely free to use. However, the amount of effort needed to maintain and develop new features for the project is not sustainable without proper financial backing. You can support CASL.js development via the following methods: One-time Donations We accept donations through these channels: