> ## Documentation Index
> Fetch the complete documentation index at: https://base.bangwu.me/llms.txt
> Use this file to discover all available pages before exploring further.

# RBAC 与会话认证

> RBAC 角色访问控制与 Cookie 会话认证机制的原理详解与项目实践笔记，涵盖用户-角色-权限-资源四表数据模型设计思路、badmin 通用管理后台与邮轮票务管理系统中的角色分配、权限校验及 Cookie/Session 登录认证完整实现方案与代码示例参考。

# RBAC 与会话认证

详见英文版页面：[RBAC 与会话认证 (English)](/backend/auth/rbac)

<Note icon="language" title="查看英文版获取完整代码示例">
  本文页面包含大量代码示例和最佳实践，英文版内容更完整。
</Note>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.