talira

Compare

PunditCanCanCanOryApache Casbin
What it isMinimal authorization through OO design and pure Ruby classesThe authorization Gem for Ruby on RailsHeadless, cloud-native identity: authentication, OAuth2/OIDC and permissionsAn authorization library that supports access control models like ACL, RBAC, ABAC
KindOpen sourceOpen sourceOpen coreOpen source
Trust0.560.340.660.76
Stars8517—1395920512
Last commit2026-10-16—2026-07-292026-11-21
LicenceMITMITApache-2.0Apache-2.0
PricingFree and open sourceFree and open sourceFree tierFree and open source
Free tierYesYesYesYes
Self-hostableYesYesYes—
Ways to run it——
  • Ory Network: Developer free (development only); Production $770/year; Growth $9,350/year; Enterprise custom
  • Ory open source (self-hosted, Apache-2.0): free
    You arrange: PostgreSQL, MySQL or CockroachDB (SQLite is for development only), an SMTP server for verification and recovery emails, your own login, registration and settings pages, TLS and a reverse proxy, keeping the admin API off the internet, secrets, upgrades and backups
  • Ory Enterprise License (self-hosted, proprietary): price not published
    You arrange: the same database, email and infrastructure as the open source edition
—
SOC 2——Yes—
HIPAA————
SSO————
APINoYesYes—
PluginsNo—NoYes
MCP serverNo—Yes—
CompanyVarvet—Ory
Series A, 2024
Apache Software Foundation
non-profit
Features
  • policy classes per model
  • policy scopes
  • authorize and policy_scope helpers
  • verify_authorized and verify_policy_scoped checks
  • generators
  • can and cannot rules in Ability classes, split across files if needed
  • can? and cannot? checks in controllers and views
  • authorize! raising CanCan::AccessDenied
  • accessible_by to fetch authorized records with SQL, with selectable SQL strategies
  • load_and_authorize_resource for RESTful and nested resources
  • hash conditions, block conditions and scopes
  • permitted_attributes and disallowed_attributes
  • action aliases and rules compression
  • All 11 features
  • Kratos identity and flows
  • Hydra OAuth2/OIDC
  • Keto permissions
  • Oathkeeper proxy
  • MFA and passkeys
  • social sign-in
  • official SDKs in TypeScript, Go, Python, Java, PHP, Dart, Ruby, C# and Rust for Identities, Permissions and OAuth2
  • ACL, RBAC and ABAC models
  • models as CONF files on the PERM metamodel
  • implementations in Go, Java, Node.js, front-end JavaScript, Python, PHP, .NET, Rust, C++, Ruby, Swift, Lua, Dart, Elixir and Delphi
  • same API and behaviour across implementations
  • policy adapters for files, MySQL, Postgres, Oracle, MongoDB, Redis, Cassandra and S3
  • filtered policy loading for multi-tenant systems
  • role managers backed by LDAP, Okta, Auth0 or Azure AD
  • integrations for Kubernetes, Istio, Envoy, OpenResty, Kong and APISIX
Limitations
    • Block conditions can't fetch records: accessible_by raises an exception for a rule defined only by a Ruby block, unless you add SQL