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

자습서

이 튜토리얼은 다른 언어로 작성된 모든 Casbin 구현에 적용되며, 일부는 특정 언어에 특화되어 있습니다.

Our Papers

  • PML: 웹 서비스를 위한 인터프리터 기반 접근 제어 정책 언어

이 논문은 Casbin의 세부 설계를 깊이있게 다룹니다. Casbin/PML을 참조할 경우, 다음 BibTex를 인용하십시오.

@article{luo2019pml,
  title={PML: An Interpreter-Based Access Control Policy Language for Web Services},
  author={Luo, Yang and Shen, Qingni and Wu, Zhonghai},
  journal={arXiv preprint arXiv:1903.09756},
  year={2019}
}
  • Access Control Policy Specification Language Based on Metamodel (in Chinese)

This is another longer-version paper published in Journal of Software. The citation for different formats (Refworks, EndNote, etc.) can be found at: https://kns.cnki.net/kcms/detail/Detail.aspx?dbname=CJFDLAST2020&filename=RJXB202002012&v=

Videos

  • A Secure Vault - implementing authorization middleware with Casbin - JuniorDevSG
  • Sharing user permissions in a micro-service architecture based on Casbin (in Russian)
  • Nest.js - Casbin RESTful RBAC authorization midleware
  • Gin + Casbin: Learning Permissions in Action (in Chinese)
  • jCasbin Basics: A simple RBAC example (in Chinese)
  • Golang's RBAC based on Casbin (in Chinese)
  • Learning Gin + Casbin (1): Opening & Overview (in Chinese)
  • ThinkPHP 5.1 + Casbin: Introduction (in Chinese)
  • ThinkPHP 5.1 + Casbin: RBAC authorization (in Chinese)
  • ThinkPHP 5.1 + Casbin: RESTful & Middleware (in Chinese)
  • Quick Start for PHP-Casbin (in Chinese)

PERM Meta-Model (Policy, Effect, Request, Matchers)

  • Modeling Authorization with PERM in Casbin
  • Designing a Flexible Permissions System with Casbin
  • Access control with PERM and Casbin (in Persian)
  • Permission management with Casbin (in Chinese)
  • Analysis of Casbin (in Chinese)
  • Design of System Permissions (in Chinese)
  • Casbin: A Permission Engine (in Chinese)
  • Implementing ABAC with Casbin (in Chinese)
  • Source code analysis of Casbin (in Chinese)
  • Permission evaluation with Casbin (in Chinese)
  • Casbin: Library of the day for Go (in Chinese)
Go
Java
Node.js
PHP
Rust

HTTP & RESTful

  • Basic Role-Based HTTP Authorization in Go with Casbin (or Chinese translation)

Beego

  • Using Casbin with Beego: 1. Get started and test (in Chinese)
  • Using Casbin with Beego: 2. Policy storage (in Chinese)
  • Using Casbin with Beego: 3. Policy query (in Chinese)
  • Using Casbin with Beego: 4. Policy update (in Chinese)
  • Using Casbin with Beego: 5. Policy update (continued) (in Chinese)

Gin

  • Tutorial: Integrate Gin with Cabsin
  • Policy enforcements on K8s with Pipeline
  • Authentication and authorization in Gin application with JWT and Casbin
  • Backend API with Go: 1. Authentication based on JWT (in Chinese)
  • Backend API with Go: 2. Authorization based on Casbin (in Chinese)
  • Using Go's authorization library Casbin with Gin and GORM (in Japanese)

Echo

  • Web authorization with Casbin

Iris

  • Iris + Casbin: Practice for permission management (in Chinese)
  • Role-based access control for HTTP based on Casbin (in Chinese)
  • Learning iris + Casbin from scratch

VMware Harbor

  • Casbin: Golang access control framework (in Chinese)
  • Access control in Harbor (in Chinese)

Argo CD

  • Organizational RBAC in Argo CD with Casbin

GShark

  • GShark: Scan for sensitive information in Github easily and effectively (in Chinese)

SprintBoot

  • jCasbin: a more light-weight permission management solution (in Chinese)
  • Integrating jCasbin with JFinal (in Chinese)

Express

  • How to Add Role-Based-Access-Control to Your Serverless HTTP API on AWS

Nest

  • How to Create Role based Authorization Middleware with Casbin and Nest.js
  • nest.js: Casbin RESTful RBAC authorization middleware (Video)
  • A Demo App of Attribute-based Access Control in Node.js Based on Casbin
  • Multi tenant SaaS starter kit with cqrs graphql microservice architecture

Fastify

  • Access Control in Node.js with Fastify and Casbin
  • Casbin, Powerful and Efficient ACL for Your Projects

Laravel

  • Laravel authorization: authorization library supporting ACL, RBAC, ABAC and other models
  • Basic Role-Based HTTP Authorization in Rust with Casbin
← 작동 원리지원하는 접근 제어 모델 →
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.