awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

Authorization patterns

Ranking aktualisiert am 9. Juli 2026

For an open source library for application authorization, the strongest matches are open-policy-agent/opa (This project is a comprehensive, industry-standard policy engine that), nestjsx/nest-access-control (This framework provides role-based and attribute-based access control specifically) and hsluoyz/casbin (Casbin is a comprehensive authorization engine that supports RBAC). casbin/casbin and ory/keto round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.

Explore the best open-source authorization libraries and patterns. Compare top GitHub projects by activity and features to find the best fit for your app.

Authorization patterns

Finde die besten Repos mit KI.Wir suchen mit KI nach den am besten passenden Repositories.
  • open-policy-agent/opaAvatar von open-policy-agent

    open-policy-agent/opa

    11,860Auf GitHub ansehen↗

    This project is a unified, cloud-native policy engine designed to decouple authorization and security logic from application codebases. It functions as a centralized authorization service that evaluates structured input data against declarative rules, enabling consistent policy enforcement across microservices, infrastructure, and continuous integration pipelines. The engine utilizes a specialized logic programming language to express complex constraints, which are compiled into an optimized intermediate representation for high-performance evaluation. By supporting both sidecar-based deployme

    This project is a comprehensive, industry-standard policy engine that enables fine-grained, attribute-based access control through policy-as-code, supporting distributed enforcement across microservices and diverse application environments.

    GoDeclarative Access ControlPolicy-As-Code EnginesPolicy Enforcement Engines
    Auf GitHub ansehen↗11,860
  • nestjsx/nest-access-controlAvatar von nestjsx

    nestjsx/nest-access-control

    1,156Auf GitHub ansehen↗

    NestJS Access Control is a role-based and attribute-based authorization framework designed for the NestJS ecosystem. It provides a declarative system for securing application routes and resources, allowing developers to enforce granular access policies through metadata-driven decorators. The framework distinguishes itself by supporting hierarchical role inheritance, which enables the resolution of complex permission sets by traversing parent and child role relationships. It also facilitates dynamic authorization management, allowing security rules to be loaded asynchronously from external dat

    This framework provides role-based and attribute-based access control specifically for the NestJS ecosystem, offering a declarative way to manage permissions through decorators and hierarchical role inheritance.

    TypeScriptAttribute-Based Access ControlRole-Based Access ControlRole-Based Access Control Systems
    Auf GitHub ansehen↗1,156
  • hsluoyz/casbinAvatar von hsluoyz

    hsluoyz/casbin

    20,189Auf GitHub ansehen↗

    Casbin is an authorization library designed to manage application access control and permissions through a configurable model-based engine. It serves as a centralized system for verifying whether a user has permission to perform specific actions on a resource. The engine supports multiple access control models, including Role-Based Access Control, Attribute-Based Access Control, and Access Control Lists. It allows for the definition of role hierarchies and the evaluation of user, resource, and environment attributes to make access decisions. The library decouples authorization logic from dat

    Casbin is a comprehensive authorization engine that supports RBAC, ABAC, and policy-as-code through a decoupled model-based approach, providing the multi-language SDKs and distributed capabilities required for complex access control.

    GoAttribute-based Access ControlsRole-Based Access Control
    Auf GitHub ansehen↗20,189
  • casbin/casbinAvatar von casbin

    casbin/casbin

    19,848Auf GitHub ansehen↗

    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 a comprehensive authorization library that supports RBAC, ABAC, and policy-as-code through a flexible, model-based engine that can be integrated across various languages and distributed environments.

    GoAttribute-Based Access ControlAttribute-based Access ControlsRole-Based Access Control
    Auf GitHub ansehen↗19,848
  • ory/ketoAvatar von ory

    ory/keto

    5,270Auf GitHub ansehen↗

    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 a dedicated authorization server that implements the Zanzibar model for fine-grained access control, providing a robust policy-as-code approach with support for both RBAC and ABAC patterns via its relationship-based architecture.

    GoAttribute-based Access Controls
    Auf GitHub ansehen↗5,270
  • spatie/laravel-permissionAvatar von spatie

    spatie/laravel-permission

    12,911Auf GitHub ansehen↗

    This is a role-based access control system for Laravel applications that manages user permissions and roles within a database. It provides a database permissions manager to assign specific abilities to users and roles, utilizing authorization gates to restrict access to routes and interface elements. The project features a wildcard permission system that uses pattern matching to grant broad access across multiple related permissions. It also supports team-scoped access control, allowing users to maintain different roles and permission levels across separate organizational contexts or teams.

    This is a role-based access control system designed specifically for the Laravel ecosystem, providing robust tools for managing user permissions and roles directly within your application's database.

    PHPRole-Based Access ControlRole-Based Access Control Systems
    Auf GitHub ansehen↗12,911
  • cerbos/cerbosAvatar von cerbos

    cerbos/cerbos

    4,460Auf GitHub ansehen↗

    Cerbos is an open-source authorization service that provides a centralized, language-agnostic engine for managing access control. It functions as a policy-as-code platform, allowing teams to define, test, and distribute authorization rules using declarative YAML or JSON configurations. By decoupling access logic from application code, it enables consistent permission enforcement across diverse service stacks. The project distinguishes itself through its ability to translate high-level authorization policies into native database query filters. This capability allows applications to enforce sec

    Cerbos is a centralized, policy-as-code authorization engine that supports both role-based and attribute-based access control, providing a language-agnostic way to decouple and distribute authorization logic across distributed services.

    GoAttribute-Based Access ControlRole-Based Access Control
    Auf GitHub ansehen↗4,460
  • logto-io/logtoAvatar von logto-io

    logto-io/logto

    12,161Auf GitHub ansehen↗

    Logto is an open-source identity provider that serves as a centralized authentication and authorization server for web, mobile, and command-line applications. It implements the OpenID Connect and OAuth 2.1 standards to handle secure user sign-in and the issuance of identity tokens. The platform is specifically designed as a multi-tenant authentication framework for software-as-a-service environments, featuring built-in organization management and tenant isolation. It includes an enterprise single sign-on gateway to integrate external identity providers and supports role-based access control t

    Logto is an identity provider that includes built-in role-based access control and organization management, serving as a centralized service for handling authentication and authorization flows in multi-tenant applications.

    TypeScriptRole-Based Access ControlRole-Based Access Control Systems
    Auf GitHub ansehen↗12,161
  • authzed/spicedbAvatar von authzed

    authzed/spicedb

    6,781Auf GitHub ansehen↗

    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 authorization engine that implements relationship-based access control using a policy-as-code schema, providing a scalable and consistent way to manage fine-grained permissions across complex applications.

    GoRelationship-Based Access ControlsRelationship-Based ModelsAuthorization Databases
    Auf GitHub ansehen↗6,781
  • aserto-dev/topazAvatar von aserto-dev

    aserto-dev/topaz

    1,343Auf GitHub ansehen↗

    Cloud-native authorization for modern applications and APIs

    Topaz is a cloud-native authorization engine that implements policy-as-code using OPA, providing both role-based and attribute-based access control with multi-language SDK support for distributed application environments.

    GoAccess Control FrameworksSecurity and ComplianceSecurity and Identity
    Auf GitHub ansehen↗1,343
  • jeremykenedy/laravel-rolesAvatar von jeremykenedy

    jeremykenedy/laravel-roles

    1,043Auf GitHub ansehen↗

    This package provides a comprehensive authorization framework for Laravel applications, enabling the management of user roles and granular permissions through a database-driven system. It allows developers to define access levels and assign them to users, ensuring that security policies are enforced consistently across the entire application. The system distinguishes itself through a hierarchical inheritance model, where permissions automatically propagate from lower-tier roles to higher-tier roles based on a numerical level system. It includes a dedicated administrative web interface that al

    This package provides a role-based access control framework specifically for the Laravel ecosystem, offering a database-driven approach to managing user permissions and hierarchical roles within an application.

    PHPRole-Based Access Control
    Auf GitHub ansehen↗1,043
  • nathanl/authorityAvatar von nathanl

    nathanl/authority

    1,197Auf GitHub ansehen↗

    Authority is an authorization framework for Ruby on Rails applications that manages user permissions and access control policies. It provides a system for encapsulating complex security logic into dedicated classes, separating these concerns from core business models. The library enforces security rules by intercepting web requests at the controller level and validating actions against defined policies. It utilizes convention-based mapping to automatically associate models with their corresponding authorization classes, supporting both global checks and instance-aware validation for specific

    This is a Ruby-specific authorization framework that enables role-based access control and policy-based logic, though it lacks the multi-language support and distributed architecture required for a comprehensive enterprise-grade solution.

    RubyRole-Based Access Control
    Auf GitHub ansehen↗1,197
  • apache/shiroAvatar von apache

    apache/shiro

    4,432Auf GitHub ansehen↗

    Shiro is a Java security framework that provides an identity and access manager for implementing authentication, authorization, cryptography, and session management. It serves as a security layer to verify user identities and enforce role-based access control for protected system resources. The project features a pluggable realm architecture that decouples security logic from identity data and a standalone session management system that tracks user state independently of the underlying servlet container. It includes an integrator for external identity providers using federation protocols such

    Apache Shiro is a comprehensive Java-based security framework that provides robust role-based access control and authorization logic, though it is primarily focused on the Java ecosystem rather than being a language-agnostic policy-as-code engine.

    JavaRole-Based Access Control
    Auf GitHub ansehen↗4,432
  • keycloak/keycloakAvatar von keycloak

    keycloak/keycloak

    34,934Auf GitHub ansehen↗

    Keycloak is an open-source identity and access management server that provides a centralized platform for user authentication, authorization, and identity federation. It functions as a standards-compliant identity provider, utilizing a centralized engine to validate credentials and issue cryptographically signed tokens based on industry-standard protocols like OpenID Connect and SAML. This enables organizations to secure diverse applications and services through a unified authentication layer. The platform distinguishes itself through its cloud-native orchestration and high-availability capab

    Keycloak is a comprehensive identity and access management server that provides robust role-based access control and centralized authorization, though it functions as a standalone service rather than a library or policy-as-code engine for embedding directly into application logic.

    JavaIdentity ServersIdentity Management SystemsIdentity Providers
    Auf GitHub ansehen↗34,934
  • palkan/action_policyAvatar von palkan

    palkan/action_policy

    1,557Auf GitHub ansehen↗

    Action Policy is a Ruby authorization framework designed to manage user access and permissions by encapsulating security logic into dedicated policy classes. It provides a structured system for defining access rules that evaluate user actions against specific application resources, ensuring that security logic remains decoupled from the primary application code. The framework distinguishes itself through its ability to handle complex authorization requirements across diverse interfaces, including web controllers and various API formats. It supports dynamic permission evaluation by utilizing a

    This is a Ruby-specific authorization framework that supports role-based and attribute-based access control through a policy-as-code approach, making it a direct fit for implementing authorization logic within Rails applications.

    RubyRuby on Rails FrameworksAccess ControlAccess Policies
    Auf GitHub ansehen↗1,557
  • elabs/punditAvatar von elabs

    elabs/pundit

    8,509Auf GitHub ansehen↗

    Pundit is a Ruby authorization framework that implements policy-based access control. It maps domain models to dedicated logic classes that determine whether a user is permitted to perform specific actions on data objects. The framework utilizes plain Ruby objects to decouple authorization logic from the model. It includes mechanisms for data query scoping to filter record collections based on user permissions, as well as attribute-level permission control to restrict which specific model fields a user can modify. The system provides tools for authorization coverage verification to ensure se

    Pundit is a Ruby-specific authorization framework that provides policy-based access control and record-level filtering, though it lacks the multi-language SDK support and distributed architecture required for a comprehensive, cross-platform solution.

    RubyAuthorization PoliciesAccess PoliciesPolicy-Based Access Control
    Auf GitHub ansehen↗8,509
Die Top 10 auf einen Blick vergleichen
RepositoryStarsSpracheLizenzLetzter Push
open-policy-agent/opa11.9KGoApache-2.016. Juni 2026
nestjsx/nest-access-control1.2KTypeScriptMIT24. Dez. 2025
hsluoyz/casbin20.2KGoApache-2.016. Juni 2026
casbin/casbin19.8KGoapache-2.06. Feb. 2026
ory/keto5.3KGoapache-2.020. Feb. 2026
spatie/laravel-permission12.9KPHPMIT7. Juni 2026
cerbos/cerbos4.5KGoApache-2.016. Juni 2026
logto-io/logto12.2KTypeScriptMPL-2.016. Juni 2026
authzed/spicedb6.8KGoApache-2.016. Juni 2026
aserto-dev/topaz1.3KGoApache-2.024. Juni 2026

Related searches

  • Security hardening guides
  • Sammlung von Tutorials zum Programmierenlernen
  • ein umfassender Leitfaden für Softwareentwicklung
  • a collection of software engineering best practices
  • Prompt engineering guides
  • Markdown documentation tools
  • Systems programming guides
  • Authentifizierung und Autorisierung