完善风控登录权限和模型能力配置
This commit is contained in:
@@ -57,15 +57,18 @@ Agent 不能把截断结果表述成覆盖全部数据,也不能据此给出
|
||||
|
||||
以下内容属于环境准备或数据初始化,不是代码缺陷:
|
||||
|
||||
1. 执行 `python tools/grant_risk_permissions.py`,确认风控角色具备:
|
||||
1. 先执行 `python tools/seed_test_rbac.py`,再执行
|
||||
`python tools/grant_risk_permissions.py`,确认风控角色具备:
|
||||
- `risk:alert:read`
|
||||
- `risk:alert:write`
|
||||
- `risk:alert:scan`
|
||||
- `risk:report:mail`
|
||||
2. 执行 `python tools/publish_risk_agent_config.py`,确认奶龙风控智能助手的工具白名单和意图配置已发布。
|
||||
3. 按主项目发布的迁移流程执行 Alembic 升级,确认 `trigger_rule_codes` 多值索引已生效。
|
||||
4. 演示前准备足够的客户、交易、资金、持仓、登录和预警数据。
|
||||
5. 使用前确认日报邮件开关、SMTP 配置和收件人范围符合演示要求。
|
||||
2. 执行 `python tools/set_user_password.py --user 9002 --password 666666`,
|
||||
为风控演示账号设置密码;登录使用 `risk_t / 666666`。
|
||||
3. 执行 `python tools/publish_risk_agent_config.py`,确认奶龙风控智能助手的工具白名单和意图配置已发布。
|
||||
4. 按主项目发布的迁移流程执行 Alembic 升级,确认 `trigger_rule_codes` 多值索引已生效。
|
||||
5. 演示前准备足够的客户、交易、资金、持仓、登录和预警数据。
|
||||
6. 使用前确认日报邮件开关、SMTP 配置和收件人范围符合演示要求。
|
||||
|
||||
## 当前保留限制
|
||||
|
||||
|
||||
Reference in New Issue
Block a user