pipeline-app/conf/rp.json
yumoqing 252f119f35 feat(llm-govern): 集成pipeline-llm模型治理模块
- pipeline_app.py: load_llm() try/except兜底加载
- build.sh: clone/pip install/CRUD生成/wwwroot软链 四处枚举加pipeline-llm
- create_tables.py: 执行模块手写幂等DDL(8张llm_表,不走json2ddl避DEFAULT引号bug)
- import_init.py: 注册appcodes字典; rp.json: /pipeline-llm/** → logined
- index.ui主菜单: 加「模型治理」项(/pipeline-llm, TabPanel)
2026-09-01 17:28:03 +08:00

64 lines
1.7 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"_comment": "pipeline-app RBAC 权限定义(r:p 数据)。角色 -> 路径模式。路径模式:精确匹配 /pipeline-sdlc/index.ui;前缀匹配 /product_management/** 或 /pricing/%(匹配该前缀下所有路径)。由 scripts/import_rp.py 导入 permission + rolepermission 表。",
"roles": {
"any": [
"/rbac/user/login.ui",
"/rbac/user/up_login.dspy",
"/rbac/user/userpassword_login.dspy",
"/rbac/user/userpassword_login.ui",
"/rbac/phone_login.dspy",
"/rbac/gen_sms_code.dspy",
"/rbac/qr_scan.ui",
"/i18n_getmsgs",
"/index_tab.js",
"/appbase/menu.ui",
"/product_management/menu.ui",
"/discount/menu.ui",
"/pricing/menu.ui",
"/unipay/usermenu.ui",
"/univer-office",
"/univer-office/**",
"/accounting/api/fetch_forex_rates.dspy"
],
"logined": [
"/pipeline-sdlc",
"/pipeline-sdlc/**",
"/product_management",
"/product_management/**",
"/discount",
"/discount/**",
"/pricing",
"/pricing/**",
"/unipay",
"/unipay/**",
"/appbase",
"/appbase/**",
"/showcase",
"/showcase/**",
"/tenant",
"/tenant/**",
"/pipeline_core",
"/pipeline_core/**",
"/pipeline_ops",
"/pipeline_ops/**",
"/pipeline_dist",
"/pipeline_dist/**",
"/pipeline_task",
"/pipeline_task/**",
"/app_audit",
"/app_audit/**",
"/office",
"/office/**",
"/accounting",
"/accounting/**",
"/pipeline-llm",
"/pipeline-llm/**"
],
"owner.superuser": [
"/rbac",
"/rbac/**",
"/dapi",
"/dapi/**"
]
}
}