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}
}
Videos
- Ein sicherer Tresor - Implementierung von Autorisierungsmiddleware mit Casbin - JuniorDevSG
- Nest.js - Casbin RESTful RBAC authorization middleware
PERM Meta-Modell (Policy, Effect, Request, Matchers)
- Verständnis von Casbin mit verschiedenen Zugriffskontrollmodell-Konfigurationen
- Modellierung der Autorisierung mit PERM in Casbin
- Entwerfen eines flexiblen Berechtigungssystems mit Casbin
- Autorisieren mit Zugriffskontrolllisten
HTTP & RESTful
Gin
- Autorisierung in Golang-Projekten mit Casbin
- Tutorial: Integration von Gin mit Casbin
- Policy enforcements on K8s with Pipeline
- Authentifizierung und Autorisierung in Gin-Anwendung mit JWT und Casbin
Echo
Argo CD
Express
Koa
Nest
- How to Create Role-based Authorization Middleware with Casbin and Nest.js
- nest.js: Casbin RESTful RBAC-Autorisierungsmiddleware (Video)
- Eine Demo-App für attributbasierte Zugriffskontrolle in Node.js basierend auf Casbin
- Multi-Tenant SaaS Starter-Kit mit CQRS GraphQL Microservice-Architektur
Fastify
- Grundlegende rollenbasierte HTTP-Autorisierung in Rust mit Casbin
- [Wie man die Casbin-Autorisierung in Ihrer Rust-Web-App verwendet Teil - 1]
- [Wie man die Casbin-Autorisierung in Ihrer Rust-Web-App verwendet Teil - 2]