Tutorials
This page lists papers, videos, and community tutorials for Casbin. Some cover the model and apply to all languages; others are written for a specific language or framework.
Papers
The paper describes Casbin’s design in depth. To cite it in academic work, use:
@article{luo2025perm,
title={PERM: Streamlining Cloud Authorization With Flexible and Scalable Policy Enforcement},
author={Luo, Yang and Shen, Qingni and Wu, Zhonghai},
journal={IEEE Transactions on Information Forensics and Security},
year={2025},
volume={20},
number={7},
pages={8481-8496},
publisher={IEEE}
}
ビデオ
PERMメタモデル(ポリシー、エフェクト、リクエスト、マッチャー)
HTTP & RESTful
Gin
- Casbinを使用したGolangプロジェクトでの認可
- チュートリアル: GinとCasbinの統合
- Pipelineを使用したK8sでのポリシー施行
- JWTとCasbinを使用したGinアプリケーションでの認証と認可
Echo
- CasbinによるWeb認可](http://klotzandrew.com/blog/authorization-with-casbin)
Argo CD
Express
Koa
Nest
- CasbinとNest.jsを使って役割ベースの認可ミドルウェアを作成する方法
- nest.js: CasbinによるRESTful RBAC認可ミドルウェア (ビデオ)
- CasbinをベースにしたNode.jsによる属性ベースのアクセス制御のデモアプリ
- cqrs graphqlマイクロサービスアーキテクチャを使用したマルチテナントSaaSスターターキット
Fastify
- Rustでの基本的な役割ベースのHTTP認証とCasbin
- [RustのWebアプリでCasbin認証を使用する方法 パート - 1]
- [RustのWebアプリでCasbin認証を使用する方法 パート - 2]