apache/casbin
Apache Casbin: an authorization library that supports access control models like ACL, RBAC, ABAC.
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
Loading star history...
Where it stands
Rank, growth pace and release cadence relative to everything GStars tracks.
Ranks #2 among Authentication repositories tracked this week, and #2 over the last 30 days; #149 of 3,103 repositories GStars tracks this week (top 5%).
1 release in the last 90 days, the latest 57 days ago, with 155 contributors on GitHub.
Gained 21% fewer stars in the last 90 days than in the 90 days before.
Use Cases & Benefits
- Implements a flexible authorization library supporting multiple access control models like ACL, RBAC, and ABAC for Go projects.
- Enables dynamic and customizable access control policies through a unified model configuration, simplifying complex permission management.
- Use for enforcing fine-grained role-based access control in multi-tenant SaaS applications with domain-specific permissions.
- Use for implementing attribute-based access control where permissions depend on resource and user attributes in enterprise systems.
- Use for managing RESTful API access with path and method-based rules in microservices architectures.
Should you depend on it?
License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.
License
Apache 2.0
Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.
Community files
- README: present
- Contributing guide: present
- Code of conduct: present
Watch-outs
No watch-outs from GStars' checks.
General guidance from repository metadata, not legal advice. How we score
From the README
News: still worry about how to write the correct Casbin policy?
Casbin online editoris coming to help! Try it at: https://casbin.org/editor/Casbin is a powerful and efficient open-source access control library for Golang projects. It provides support for enforcing authorization based on various access control models.
Build auth with fraud prevention, faster. Try Stytch for API-first authentication, user & org management, multi-tenant SSO, MFA, device fingerprinting, and more.
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
+189 stars over 89 days across 8 snapshot days; best day +5 on Jul 21.
Forks
1.8K+10
Open issues
39-38
Compared with peers in Authentication
Fastest-growing repositories GStars tracks in this cohort for the week of Oct 18, by 7-day star growth
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| googleworkspace/cli | 31.8K | +274 | 75 | 206 days ago |
| supabase/supabase | 113.8K | +0 | 75 | 77 days ago |
| better-auth/better-auth | 30.4K | +0 | 75 | 1 day ago |
| apache/casbin | 20.5K | +0 | 75 | 57 days ago |
| logto-io/logto | 14.8K | +0 | 75 | 10 days ago |
| ory/kratos | 13.9K | +0 | 75 | 211 days ago |
| Category median | 30.4K | +0 | 75 | — |
Also by apache
Other repositories from this maintainer that GStars tracks
- Python75.3K stars
superset
Apache Superset is a Data Visualization and Data Exploration Platform
- Python47.2K stars
airflow
Apache Airflow - A platform to programmatically author, schedule, and monitor workflows
- Python13.8K stars
tvm
Open Machine Learning Compiler Framework
- Java10.1K stars
cassandra
Open source transactional distributed database. Linear scalability and proven fault-tolerance on commodity hardware or cloud infrastructure without compromising performance.
- Rust9.5K stars
datafusion
Apache DataFusion SQL Query Engine
Discover Repositories
Search across tracked repositories by name or description