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元模型(策略,效果,请求,匹配器)
Express
Koa
Nest
- 如何使用 Casbin 和 Nest.js 创建基于角色的授权中间件
- nest.js:Casbin RESTful RBAC授权中间件(视频)
- 基于Casbin的Node.js中的属性访问控制的演示应用
- 使用cqrs graphql微服务架构的多租户SaaS启动套件
Fastify
- 在Rust中使用Casbin进行基于角色的HTTP授权
- [如何在你的rust web-app中使用casbin授权 第1部分]
- [如何在你的rust web-app中使用casbin授权 第2部分]