Casbin

Casbin

  • 문서
  • API
  • 편집기
  • JetBrains Plugin
  • Dashboard
  • Forum
  • OA
  • Trend
  • Cloud
  • 도움말
  • 블로그
  • Languages icon한국어
    • English
    • 中文
    • 번역 참여하기
  • GitHub

›확장 기능

기초

  • 개요(Overview)
  • 시작하기
  • 작동 원리
  • 자습서

모델

  • 지원하는 접근 제어 모델
  • 모델(Model) 문법
  • 함수
  • RBAC
  • RBAC + 도메인
  • ABAC

저장소

  • 모델(Model) 저장
  • 정책(Policy) 저장
  • 정책(Policy) 부분 집합 불러오기

확장 기능

  • 어댑터
  • 감시자
  • Dispatchers
  • 역할(Role) 관리자
  • 미들웨어

API

  • Management API
  • RBAC API

고급 사용법 (Advanced usage)

  • 멀티 스레딩
  • 벤치마크

관리

  • 관리자 포탈
  • Casbin 서비스
  • 로깅 및 오류 처리
  • 온라인 편집기
  • Frontend Usage

자세히

  • Casbin 적용 사례
  • Privacy Policy
  • Terms of Service
Translate

감시자

We support to use distributed messaging systems like etcd to keep consistence between multiple Casbin enforcer instances. So our users can concurrently use multiple Casbin enforcers to handle large number of permission checking requests.

Similar to policy storage adapters, we don't put watcher code in the main library. Any support for a new messaging system should be implemented as a watcher. A complete list of Casbin watchers is provided as below. Any 3rd-party contribution on a new watcher is welcomed, please inform us and I will put it in this list:)

Go
Java
Node.js
Python
.NET
WatcherTypeAuthorDescription
Etcd WatcherKV storeCasbinWatcher for etcd
NATS WatcherMessaging systemSolutoWatcher for NATS
ZooKeeper WatcherKV storeGrepsrWatcher for Apache ZooKeeper
Redis WatcherKV store@billcobblerWatcher for Redis
GCP Pub/Sub WatcherMessaging systemLivingPacketsWatcher for Google Cloud Platform PUB/SUB
NATS, RabbitMQ, GCP Pub/Sub, AWS SNS & SQS, Kafka, InMemoryMessaging SystemrusenaskWatcher based on Go Cloud Dev Kit that works with leading cloud providers and self-hosted infrastructure
WatcherTypeAuthorDescription
Etcd AdapterKV store@fanlideWatcher for etcd
WatcherTypeAuthorDescription
Etcd WatcherKV storeCasbinWatcher for etcd
Redis WatcherKV storeCasbinWatcher for Redis
Pub/Sub WatcherMessaging systemhjlWatcher for Google Cloud Pub/Sub
Postgres WatcherDatabaseMatteo CollinaWatcher for PostgreSQL
WatcherTypeAuthorDescription
Redis WatcherKV storeScienceLogicWatcher for Redis
PostgreSQL WatcherDatabaseCasbinWatcher for PostgreSQL
WatcherTypeAuthorDescription
Redis WatcherKV store@SbouWatcher for Redis

WatcherEx

In order to support incremental synchronization between multiple instances, we provide the WatcherEx interface. We hope it can notify other instances when the policy changes, but there is currently no implementation of WatcherEx. We recommend that you use dispatcher to achieve this.

← 어댑터Dispatchers →
  • WatcherEx
Casbin
Docs
Getting StartedManagement APIRBAC APIMiddlewares
Community
Who's using Casbin?ForumStack OverflowProject Chat
Casbin          jCasbin
Node-Casbin   PHP-CasbinPyCasbin          Casbin.NETCasbin-CPP        Casbin-RS
Follow @CasbinNews
Copyright © 2021 Casbin contributors.