一些教程适用于Casbin的模型并且在多种编程语言中适用。其他一些教程是编程语言相关的。
Our Papers
这篇论文深入介绍了Casbin的设计细节。如果您使用Casbin/PML,请引用以下BibTex作为参考文献:
@article{luo2019pml,
title={PML: An Interpreter-Based Access Control Policy Language for Web Services},
author={Luo, Yang and Shen, Qingni and Wu, Zhonghai},
journal={arXiv preprint arXiv:1903.09756},
year={2019}
}
这是发表在《软件杂志》上的另一篇更长的论文。不同格式的引用(Refworks,尾注等)可以在这里找到: https://kns.cnki.net/kcms/detail/Detail.aspx?dbname=CJFDLAST2020&filename=RJXB202002012&v=
Videos
- A Secure Vault - implementing authorization middleware with Casbin - JuniorDevSG
- Sharing user permissions in a micro-service architecture based on Casbin (in Russian)
- Nest.js - Casbin RESTful RBAC authorization midleware
- Gin + Casbin: Learning Permissions in Action (in Chinese)
- jCasbin Basics: A simple RBAC example (in Chinese)
- Golang’s RBAC based on Casbin (in Chinese)
- Learning Gin + Casbin (1): Opening & Overview (in Chinese)
- ThinkPHP 5.1 + Casbin: Introduction (in Chinese)
- ThinkPHP 5.1 + Casbin: RBAC authorization (in Chinese)
- ThinkPHP 5.1 + Casbin: RESTful & Middleware (in Chinese)
PERM Meta-Model (Policy, Effect, Request, Matchers)
- Modeling Authorization with PERM in Casbin
- Designing a Flexible Permissions System with Casbin
- Access control with PERM and Casbin (in Persian)
- Permission management with Casbin (in Chinese)
- Analysis of Casbin (in Chinese)
- Design of System Permissions (in Chinese)
- Casbin: A Permission Engine (in Chinese)
- Implementing ABAC with Casbin (in Chinese)
- Source code analysis of Casbin (in Chinese)
- Permission evaluation with Casbin (in Chinese)
- Casbin: Library of the day for Go (in Chinese)
HTTP & RESTful
Beego
- Using Casbin with Beego: 1. Get started and test (in Chinese)
- Using Casbin with Beego: 2. Policy storage (in Chinese)
- Using Casbin with Beego: 3. Policy query (in Chinese)
- Using Casbin with Beego: 4. Policy update (in Chinese)
- Using Casbin with Beego: 5. Policy update (continued) (in Chinese)
Gin
- Tutorial: Integrate Gin with Cabsin
- Policy enforcements on K8s with Pipeline
- Authentication and authorization in Gin application with JWT and Casbin
- Backend API with Go: 1. Authentication based on JWT (in Chinese)
- Backend API with Go: 2. Authorization based on Casbin (in Chinese)
- Using Go’s authorization library Casbin with Gin and GORM (in Japanese)
Echo
Iris
- Iris + Casbin: Practice for permission management (in Chinese)
- Role-based access control for HTTP based on Casbin (in Chinese)
- Learning iris + Casbin from scratch