pipeline-app/conf/rp.json
yumoqing 9ead91d303 feat(dapi): 下位系统管理界面暴露 + RBAC 权限
- rp.json: owner.superuser 加 /dapi /dapi/**
- index.ui: 系统管理菜单加「下位系统」「下位系统API Key」两项(/dapi/downapp /dapi/downapikey)
- 附带 rp.json 里 univer-office 遗留的 /univer-office /office/** 权限(已部署)
2026-08-21 17:28:51 +08:00

44 lines
1.4 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/**"
],
"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/**"
],
"owner.superuser": [
"/rbac", "/rbac/**",
"/dapi", "/dapi/**"
]
}
}