Skip to content

About

Actively maintained curated list of authorization and access control: policy engines (OPA, Cedar, Zanzibar/ReBAC), standards (AuthZEN, OAuth), AuthZ-as-a-Service, models, and real-world designs.

Topics

Resources

Code of conduct

Contributing

Stars

11 stars

Watchers

1 watching

Forks

Latest commit

 

History

90 Commits

Folders and files

Repository files navigation

Awesome Authorization Awesome

Awesome Authorization

Determining what an authenticated user or service is permitted to do.

Contents

Policy Engines & Frameworks

General Purpose

  • OPA (Open Policy Agent) - CNCF graduated. General-purpose policy engine with its own language (Rego).
  • Cedar - Policy language and engine by AWS, now a CNCF Sandbox project. Designed to be analyzable and expressive.
  • Casbin - Supports ACL, RBAC, ABAC, etc. Has adapters for many languages and storage backends. Apache Incubating project.
  • Cerbos - Self-hosted authorization layer. Policies are defined in YAML/JSON with built-in testing support.
  • Open Policy Administration Layer (OPAL) - Keeps policies and data in sync across policy engines in real time.
  • Pomerium - Identity-aware reverse proxy that enforces context-aware authorization policies.
  • Biscuit - Capability-based authorization token format with Datalog policies, offline verification, and bearer-side attenuation.

Zanzibar-Based

Inspired by Google Zanzibar, Google's global authorization system built around relationship-based access control.

  • SpiceDB - Zanzibar-inspired database for fine-grained permissions by Authzed.
  • OpenFGA - Fine-grained authorization engine, originally from Auth0. CNCF Incubating project.
  • Permify - Zanzibar-inspired authorization service for fine-grained access control. Acquired by FusionAuth in 2025.
  • Ory Keto - Go implementation of Zanzibar. Part of the Ory ecosystem.
  • Topaz - Open-source authorizer combining the Zanzibar model with OPA.

Kubernetes-Native

  • OPA Gatekeeper - Kubernetes admission controller using OPA policies.
  • Kyverno - Kubernetes-native policy engine for validation, mutation, and generation.
  • Kubewarden - Policy engine for Kubernetes using WebAssembly.
  • Kubernetes ValidatingAdmissionPolicy - Built-in Kubernetes admission policies written in CEL and evaluated in the API server, with no webhook. Stable since Kubernetes 1.30.

Data Platforms

  • Apache Ranger - Centralized authorization and auditing for data platforms such as HDFS, Hive, Trino, and Kafka, with row filtering and column masking.

AuthZEN Implementations

  • Cerbos - Has AuthZEN PDP API support. See General Purpose.
  • Topaz - Has AuthZEN evaluation API support. See Zanzibar-Based.
  • Keycloak - Ships experimental AuthZEN PDP support as of Keycloak 26.7, exposing the evaluation API and /.well-known/authzen-configuration.

Language-Specific Libraries

  • Spring Security - Security framework for Java/Spring. Handles both authn and authz.
  • Apache Shiro - Java security framework covering authn, authz, crypto, and session management.
  • Pundit - Simple authorization for Ruby on Rails using plain Ruby objects.
  • CanCanCan - Ruby on Rails authorization. Define what users can and cannot do.
  • CASL - Isomorphic JavaScript/TypeScript authorization supporting ABAC.
  • Authzed Client Libraries - Official SpiceDB clients for Go, Python, Java, Ruby, and Node.js.
  • django-guardian - Per-object permissions for Django, stored in the database.
  • Laravel Authorization - Gates and policies for authorization in Laravel.

Standards & Specifications

OpenID AuthZEN

Identity & Federation

Agent & AI Authorization

  • MCP Authorization - OAuth 2.1-based authorization model in the Model Context Protocol. Defines how AI clients obtain and present tokens to MCP servers.
  • AI Identity Management System (Draft) - Best-practice framework for authenticating and authorizing AI agents by composing SPIFFE/WIMSE, OAuth, Transaction Tokens, and AuthZEN. Defines no new protocol. IETF WIMSE WG draft.

Workload Identity

  • SPIFFE - Secure Production Identity Framework for Everyone. Provides cryptographic identity to workloads (CNCF).
  • SPIRE - Production-ready SPIFFE runtime.

Policy Standards

  • XACML - XML-based standard for ABAC policies. Mature but verbose.

Authorization as a Service

  • Auth0 Fine Grained Authorization - Managed OpenFGA by Auth0/Okta.
  • Authzed - Managed SpiceDB. Zanzibar-style fine-grained permissions.
  • Permit.io - Full-stack authorization with a policy management UI and OPAL.
  • Oso - Managed authorization using the Polar policy language. Acquired by Tiny in 2026.
  • Cerbos Hub - Managed Cerbos policy deployment and testing.
  • Amazon Verified Permissions - Managed Cedar-based authorization service by AWS.
  • WorkOS FGA - Fine-grained authorization built on the Warrant engine.
  • Axiomatics - Enterprise ABAC platform. Acquired by Leonardo in 2025.
  • PlainID - Policy-based access control for enterprises.

Access Control Models

  • RBAC - Role-Based Access Control. Permissions are assigned to roles, roles to users.
  • ABAC - Attribute-Based Access Control. Decisions based on attributes of users, resources, and context.
  • ReBAC - Relationship-Based Access Control. Access depends on relationships between entities; see Zanzibar.
  • PBAC - Policy-Based Access Control. Policies evaluate access requests dynamically.
  • DAC - Discretionary Access Control. Resource owners decide who gets access.
  • MAC - Mandatory Access Control. System-enforced, based on security labels.
  • ACL - Access Control Lists. Per-object lists of who can do what.

Real-World Implementations

How companies do authorization at scale.

Security

Articles & Tutorials

Videos & Talks

Books

Contributing

Contributions welcome! Please read the contribution guidelines first.

About

Actively maintained curated list of authorization and access control: policy engines (OPA, Cedar, Zanzibar/ReBAC), standards (AuthZEN, OAuth), AuthZ-as-a-Service, models, and real-world designs.

Topics

Resources

Code of conduct

Contributing

Stars

11 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages