FindSoftware

Apache Casbin

Go library for access control that enforces ACL, RBAC and ABAC models defined in a configuration file.

Apache Casbin is an access control library for Go. An application loads an access model and a policy, then asks the library whether a request is allowed. The model and policy cover the ACL, RBAC and ABAC models, and the library is installed as a Go module.

The homepage names MySQL, Postgres, Oracle and MongoDB among the storage backends. Ports in other languages, such as node-casbin and PyCasbin, are separate projects under the same name. The project is an incubating project of the Apache Software Foundation.

Identity

Status
Active
Maintainer
The Apache Software Foundation4
Maintained by
Foundation
First release
20178

Rendering and deploy

Install with
go get6

Releases

Current major version
38
Last release
2026-08-208

Adoption

GitHub stars
20,4772
Contributors
1569
Dependent repositories
210
Dependent packages
310

Why these figures do not compare

Sources

  1. 2026-11-04: links, Databases
    casbin.apache.org/
  2. 2026-11-04: links, Written in, License, GitHub stars
    api.github.com/repos/apache/casbin
  3. 2026-11-04: links
    casbin.apache.org/docs/overview
  4. 2026-11-04: Maintainer
    raw.githubusercontent.com/apache/casbin/master/NOTICE
  5. 2026-11-04: Categories, Runtime
    raw.githubusercontent.com/apache/casbin/master/README.md
  6. 2026-11-04: Install with
    casbin.apache.org/docs/get-started
  7. 2026-11-04: License model
    raw.githubusercontent.com/apache/casbin/master/LICENSE
  8. 2026-11-04: First release, Current major version, Last release
    api.github.com/repos/apache/casbin/releases
  9. 2026-11-04: Contributors
    api.github.com/repos/apache/casbin/contributors?per_page=1
  10. 2026-11-04: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fcasbin%2Fcasbin%2Fv3

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON