awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com

Relationship-Based Authorization Engines

Ranking updated Jun 30, 2026

For a fine-grained authorization engine, the first results are authzed/spicedb, ory/keto and permify/permify. openfga/openfga and google/cel-spec round out the shortlist. Compare the match explanations and check the project documentation against your requirements.

Open-source services and frameworks for implementing fine-grained access control based on complex entity relationships.

Relationship-Based Authorization Engines

Find the best repos with AI.We'll search the best matching repositories with AI.
  • authzed/spicedbauthzed avatar

    authzed/spicedb

    6,781View on GitHub↗

    SpiceDB is a distributed permission store and relationship-based access control system. It provides a scalable database for storing and querying fine-grained authorization relationships, implementing a consistency model inspired by Google Zanzibar to manage access rights across large-scale applications. The system uses a dedicated schema language to define the rules and logic governing how relationships translate into permissions independently of application code. It functions as a pluggable authorization engine that persists relationship tuples in external relational databases such as Postgr

    SpiceDB is a distributed permission store and relationship-based access control system directly inspired by Google Zanzibar, offering a dedicated schema language, real-time authorization evaluation, and horizontal scalability—exactly the self-hostable ReBAC service you are looking for.

    GoRelationship-Based Access ControlsRelationship-Based ModelsZanzibar-Inspired Authorization Systems
    View on GitHub↗6,781
  • ory/ketoory avatar

    ory/keto

    5,270View on GitHub↗

    Ory Keto is an open-source authorization server that implements Google Zanzibar’s relationship-based access control model. It stores every access relationship as a tuple in a SQL database and exposes a declarative TypeScript-like namespace language for defining object types, relations, and permissions. The service provides bidirectional permission resolution, configurable consistency levels for checks, and dual gRPC and REST APIs for broad integration. Keto extends the Zanzibar model with edge enforcement of access policies, structured compliance auditing of permission decisions, and infrastr

    Ory Keto is an open-source authorization server that directly implements Google Zanzibar’s relationship-based access control model, offering relationship tuples, a declarative namespace language, bidirectional permission resolution, dual gRPC/REST APIs, and audit logging — precisely the kind of fine-grained ReBAC service you are looking for.

    GoAuthorization Audit TrailsLow-Latency Permission EvaluatorsPolicy Definition Languages
    View on GitHub↗5,270
  • permify/permifyPermify avatar

    Permify/permify

    5,812View on GitHub↗

    Permify is a Go-based authorization service that implements a Zanzibar-inspired relationship-based access control (ReBAC) model, offering real-time permission evaluation, a flexible schema language, and gRPC alongside REST APIs, making it a comprehensive fit for your fine-grained authorization needs.

    GoLow-Latency Permission EvaluatorsPermission Query EvaluatorsRelationship-Based Access Controls
    View on GitHub↗5,812
  • openfga/openfgaopenfga avatar

    openfga/openfga

    4,793View on GitHub↗

    OpenFGA is a fine-grained authorization server and policy decision point that implements relationship-based access control. It serves as a centralized authorization service for evaluating access requests and managing relationship tuples across distributed microservices and multi-tenant environments. The engine combines relationship graphs with attribute-based access control, using the Common Expression Language to evaluate dynamic runtime attributes and conditional access rules. It handles complex hierarchies and nested permissions by traversing chains of associations and parent-child links t

    OpenFGA is a dedicated fine-grained authorization server that implements the relationship-based (ReBAC) model inspired by Google Zanzibar, offering real-time evaluation of access requests through a relationship graph, a policy DSL using Common Expression Language, and REST/gRPC APIs, with support for audit logging and horizontal scalability, making it a comprehensive fit for your search.

    GoRelationship-Based Access ControlsRelationship-Based ModelsReBAC Engines
    View on GitHub↗4,793
  • google/cel-specgoogle avatar

    google/cel-spec

    3,673View on GitHub↗

    The Common Expression Language specification is a formal standard for a non-Turing-complete expression language designed for safe, portable, and fast logic evaluation. It serves as a cross-language logic standard and a declarative policy language, providing a consistent semantic framework for executing boolean expressions and data transformations across different programming environments. This specification acts as an embedded expression engine that allows applications to integrate portable logic for evaluating user-defined configurations. It is specifically designed to enable safe user-defin

    This is a language specification for evaluating boolean expressions and policies, not a self-hostable service that stores a relationship graph and runs real-time authorization checks like a Zanzibar-style ReBAC system.

    StarlarkPolicy Definition Languages
    View on GitHub↗3,673
  • casbin/casbincasbin avatar

    casbin/casbin

    19,848View on GitHub↗

    Casbin is an authorization library that provides a model-based engine for enforcing access control across diverse application environments. It decouples authorization logic from application code by using a configuration-driven approach, allowing developers to define access rules and evaluation logic independently. The system supports a wide range of access control models, including role-based, attribute-based, and relationship-based patterns, which are evaluated at runtime to determine if a subject is permitted to perform an action on a resource. The project distinguishes itself through a hig

    Casbin is an authorization library you embed into applications rather than a standalone service—it supports relationship-based models but lacks the dedicated REST/gRPC API and horizontal-scalability built into a Zanzibar-style ReBAC service.

    GoRelationship-Based Access ControlsRuntime Permission Policies
    View on GitHub↗19,848
Compare the top 10 at a glance
RepositoryStarsLanguageLicenseLast push
authzed/spicedb6.8KGoApache-2.0Jun 16, 2026
ory/keto5.3KGoapache-2.0Feb 20, 2026
permify/permify5.8KGoagpl-3.0Feb 19, 2026
openfga/openfga4.8KGoapache-2.0Feb 19, 2026
google/cel-spec3.7KStarlarkapache-2.0Feb 3, 2026
casbin/casbin19.8KGoapache-2.0Feb 6, 2026

Related searches

  • an authorization library for managing access control
  • an ABAC permissions library
  • a policy-as-code authorization engine
  • an authorization framework for managing user permissions
  • a capability based security model for systems
  • a service mesh for microservice traffic
  • a graph database for connected data
  • a policy-as-code engine for Kubernetes