go01Gin 权限控制:用 casbin 做 RBAC用 casbin 在 Gin 里落地 RBAC,讲清 model/policy 定义、中间件按角色鉴权,以及与第 6 篇 JWT 的认证衔接。2026-09-12 22:37:560 阅读