An authorization library that supports access control models like ACL, RBAC, ABAC for Golang, Java, C/C++, Node.js, Javascript, PHP, Laravel, Python, .NET (C#), Delphi, Rust, Ruby, Swift (Objective-C), Lua (OpenResty), Dart (Flutter) and Elixir. In Casbin, an access control model is abstracted into a CONF file based on the PERM metamodel (Policy, Effect, Request, Matchers). So switching or upgrading the authorization mechanism for a project is just as simple as modifying a configuration. Besides memory and file, Casbin policy can be stored into lots of places. Currently, dozens of databases are supported, from MySQL, Postgres, Oracle to MongoDB, Redis, Cassandra, AWS S3. Check the full supported list at: adapters. Casbin is implemented in Golang, Java, PHP and Node.js. All implementations share the same API and behaviors. You can learn Casbin once and use it everywhere. In Casbin, the policy storage is implemented as an adapter(aka middleware for Casbin).

Features

  • Hybrid access control models
  • Flexible policy storage
  • Cross-languages & cross-platforms
  • Policy Persistence
  • Policy enforcement at scale
  • Role manager

Project Samples

Project Activity

See All Activity >

Categories

Libraries, RBAC

License

Apache License V2.0

Follow Casbin

Casbin Web Site

Other Useful Business Software
Field Service+ for MS Dynamics 365 & Salesforce Icon
Field Service+ for MS Dynamics 365 & Salesforce

Empower your field service with mobility and reliability

Resco’s mobile solution streamlines your field service operations with offline work, fast data sync, and powerful tools for frontline workers, all natively integrated into Dynamics 365 and Salesforce.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Casbin!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Libraries, Go RBAC Tool

Registered

2023-01-03