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}
}
비디오
- A Secure Vault - Casbin으로 인증 미들웨어 구현하기 - JuniorDevSG
- Nest.js - Casbin RESTful RBAC authorization middleware
PERM 메타-모델 (정책, 효과, 요청, 매처)
HTTP & RESTful
Gin
- Golang 프로젝트에서 Casbin을 사용한 권한 부여
- 튜토리얼: Gin과 Casbin 통합하기
- Policy enforcements on K8s with Pipeline
- JWT와 Casbin을 이용한 Gin 애플리케이션에서의 인증 및 권한 부여
Echo
Argo CD
Express
Koa
Nest
- How to Create Role-based Authorization Middleware with Casbin and Nest.js
- nest.js: Casbin RESTful RBAC 인증 미들웨어 (비디오)
- Casbin을 기반으로 한 Node.js의 속성 기반 접근 제어 데모 앱
- cqrs graphql 마이크로서비스 아키텍처를 가진 멀티 테넌트 SaaS 스타터 키트
Fastify
- Rust에서 Casbin을 사용한 기본 역할 기반 HTTP 인증
- [rust 웹 앱에서 casbin 인증을 사용하는 방법 Part - 1]
- [rust 웹 앱에서 casbin 인증을 사용하는 방법 Part - 2]