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}
}
Відео
- Безпечне сховище - реалізація проміжного програмного забезпечення авторизації з Casbin - JuniorDevSG
- Nest.js - Casbin RESTful RBAC authorization middleware
Метамодель PERM (Політика, Ефект, Запит, Співставлення)
- Розуміння Casbin з різними конфігураціями моделі контролю доступу
- Моделювання авторизації з PERM у Casbin
- Проектування гнучкої системи дозволів з Casbin
- Авторизація зі списками контролю доступу
HTTP & RESTful
Gin
- Authorization in Golang Projects using Casbin
- Tutorial: Integrate Gin with Casbin
- Застосування політик на K8s за допомогою Pipeline
- Authentication and authorization in Gin application with JWT and Casbin
Echo
Argo CD
Express
Koa
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
- Basic Role-Based HTTP Authorization in Rust with Casbin
- [How to use casbin authorization in your rust web-app Part - 1]
- [How to use casbin authorization in your rust web-app Part - 2]