awesome-repositories.com
المدونة
MCP
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعخادم MCPحولكيفية ترتيب النتائجالصحافة
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
hsluoyz avatar

hsluoyz/casbin

0
View on GitHub↗
20,189 نجوم·1,743 تفرعات·Go·Apache-2.0·12 مشاهداتcasbin.apache.org↗

Casbin

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 data storage via a policy persistence layer, enabling the saving and loading of rules from external databases or files. It supports dynamic policy management to update permissions and role mappings at runtime.

Features

  • Access Control - Verifies user requests against defined permission models to determine if an action is permitted.
  • Authorization Logic - Provides a flexible system to verify if users have permission to perform specific actions on resources.
  • Access Control Models - Supports multiple access control paradigms including ACL, RBAC, and ABAC within a single engine.
  • Attribute-based Access Controls - Controls access to resources based on attributes of the user, the object, and the environment.
  • Access Control and Authorization - Provides a comprehensive library for managing access control and permissions via a model-based engine.
  • Configurable Logic Models - Implements a configurable model-based engine to determine access permissions based on custom logic.
  • Role-Based Access Control - Implements a flexible system for managing user permissions and defining access levels based on assigned roles.
  • Context-Aware Policy Engines - Evaluates user, resource, and environment attributes to make dynamic access decisions.
  • Policy - Implements a persistence layer to save and load authorization rules from external databases or files.
  • Authorization Policy Adapters - Provides a flexible adapter system to persist authorization rules in various databases or files.
  • Centralized Permission Management - Centralizes the definition and persistence of security policies to ensure consistent enforcement.
  • Authorization Policies - Enables saving and loading of authorization rules to external storage for session consistency.
  • Dynamic Policy Refreshers - Allows authorization rules and permissions to be updated in memory without restarting the application.
  • Role Inheritance Resolution - Calculates inherited permissions by traversing a directed graph of role relationships at runtime.
  • Access Control List Management - Defines and enforces access control lists to specify which users can access specific objects.
  • Role-Based Access Management - Organizes structured relationships between users and roles to enable permission inheritance.
  • Authentication and Authorization - Authorization library supporting ACL, RBAC, and ABAC models.
  • Security & Privacy - Library for access control models like RBAC and ABAC.

سجل النجوم

مخطط تاريخ النجوم لـ hsluoyz/casbinمخطط تاريخ النجوم لـ hsluoyz/casbin

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

بدائل مفتوحة المصدر لـ Casbin

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Casbin.
  • casbin/casbinالصورة الرمزية لـ casbin

    casbin/casbin

    19,848عرض على 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

    Goabacaccess-controlacl
    عرض على GitHub↗19,848
  • cerbos/cerbosالصورة الرمزية لـ cerbos

    cerbos/cerbos

    4,460عرض على GitHub↗

    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

    Goaccess-controlauthorizationgo
    عرض على GitHub↗4,460
  • openfga/openfgaالصورة الرمزية لـ openfga

    openfga/openfga

    4,793عرض على 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

    Goabacauthorizationentitlements
    عرض على GitHub↗4,793
  • ryanb/cancanالصورة الرمزية لـ ryanb

    ryanb/cancan

    6,212عرض على GitHub↗

    CanCan is an authorization library for Ruby on Rails applications that provides a declarative framework for defining user permissions. It functions as a role-based access control system that decouples security logic from controllers by centralizing all ability definitions in a single location. The library distinguishes itself by translating permission rules into database-driven filters. This allows the system to retrieve only the specific records a user is permitted to see based on attribute conditions and defined scopes, rather than verifying permissions after data has been loaded. The fram

    Ruby
    عرض على GitHub↗6,212
عرض جميع البدائل الـ 30 لـ Casbin→

الأسئلة الشائعة

ما هي وظيفة hsluoyz/casbin؟

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.

ما هي الميزات الرئيسية لـ hsluoyz/casbin؟

الميزات الرئيسية لـ hsluoyz/casbin هي: Access Control, Authorization Logic, Access Control Models, Attribute-based Access Controls, Access Control and Authorization, Configurable Logic Models, Role-Based Access Control, Context-Aware Policy Engines.

ما هي البدائل مفتوحة المصدر لـ hsluoyz/casbin؟

تشمل البدائل مفتوحة المصدر لـ hsluoyz/casbin: casbin/casbin — Casbin is an authorization library that provides a model-based engine for enforcing access control across diverse… cerbos/cerbos — Cerbos is an open-source authorization service that provides a centralized, language-agnostic engine for managing… openfga/openfga — OpenFGA is a fine-grained authorization server and policy decision point that implements relationship-based access… ryanb/cancan — CanCan is an authorization library for Ruby on Rails applications that provides a declarative framework for defining… symfony/security — This project is a comprehensive security framework for PHP applications, providing a modular system for verifying user… spatie/laravel-permission — This is a role-based access control system for Laravel applications that manages user permissions and roles within a…