docs: add Chinese RBAC guide and link with shared space docs
Replace the English docs/rbac.md with a comprehensive Chinese docs/RBAC说明.md and a wiki-style summary under docs/wiki/安全认证/. Explain how tenant RBAC relates to the shared space feature (they are orthogonal: tenant RBAC is the vertical defense, shared space is the horizontal collaboration channel) and cross-link the two docs in both the flat and wiki trees. Update inbound references in .env.example, docker-compose.yml, and the auth legacy env test to point at the new file name.
This commit is contained in:
+1
-1
@@ -435,7 +435,7 @@ WEKNORA_SANDBOX_TIMEOUT=60
|
||||
# 启用租户级 RBAC(基于 tenant_members 表的角色强制鉴权)。
|
||||
# - true(默认):开启后,无 active membership 或角色不足的请求会被 403 拒绝
|
||||
# - false:观察模式,记录但不拦截,仅用于上线初期审计角色分配的灰度窗口
|
||||
# 详细灰度方案见 docs/rbac.md。
|
||||
# 详细灰度方案见 docs/RBAC说明.md。
|
||||
# 注意:开发环境用 Air 热重载时,修改本变量需重启 dev 脚本(仅源代码变更才重读 .env)。
|
||||
# WEKNORA_TENANT_ENABLE_RBAC=true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user