feat(role): 根据role判断用户的权限

This commit is contained in:
sophie committed 2026-09-18 09:21:04 +08:00
1 parent 80d78130f8
commit a24bd94d43
93 files changed
+4472 -387

No files matched your search

@@ -83,7 +83,7 @@ Chat 同一入口用 Tab 切换「检核任务」与「企微发送记录」。
### 3.6 通知配置(仅平台管理员)
Chat 第三 Tab「通知配置」按销售一期六类必检文件分行选人。配置写入 `voucher_check_notify_configs`,与 Profile 版本解耦,换人不必发版 `file_rules`。仅 `role=admin` 可见、可改;被授予 Agent 的普通用户看不到该 Tab。
Chat 第三 Tab「通知配置」按销售一期六类必检文件分行选人。配置写入 `voucher_check_notify_configs`,与 Profile 版本解耦,换人不必发版 `file_rules`。仅 `is_platform_admin` 可见、可改;被授予 Agent 的普通用户看不到该 Tab。
| 项目 | 规则 |
| -------- | ---- |