feat(dapi): 下位系统管理界面暴露 + RBAC 权限
- rp.json: owner.superuser 加 /dapi /dapi/** - index.ui: 系统管理菜单加「下位系统」「下位系统API Key」两项(/dapi/downapp /dapi/downapikey) - 附带 rp.json 里 univer-office 遗留的 /univer-office /office/** 权限(已部署)
This commit is contained in:
parent
b849eb3e92
commit
9ead91d303
10
conf/rp.json
10
conf/rp.json
@ -15,7 +15,9 @@
|
||||
"/product_management/menu.ui",
|
||||
"/discount/menu.ui",
|
||||
"/pricing/menu.ui",
|
||||
"/unipay/usermenu.ui"
|
||||
"/unipay/usermenu.ui",
|
||||
"/univer-office",
|
||||
"/univer-office/**"
|
||||
],
|
||||
"logined": [
|
||||
"/pipeline-sdlc", "/pipeline-sdlc/**",
|
||||
@ -30,10 +32,12 @@
|
||||
"/pipeline_ops", "/pipeline_ops/**",
|
||||
"/pipeline_dist", "/pipeline_dist/**",
|
||||
"/pipeline_task", "/pipeline_task/**",
|
||||
"/app_audit", "/app_audit/**"
|
||||
"/app_audit", "/app_audit/**",
|
||||
"/office", "/office/**"
|
||||
],
|
||||
"owner.superuser": [
|
||||
"/rbac", "/rbac/**"
|
||||
"/rbac", "/rbac/**",
|
||||
"/dapi", "/dapi/**"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@ -317,6 +317,16 @@
|
||||
"name": "ab_params",
|
||||
"label": "参数管理",
|
||||
"script": "this.open_tab({name:'ab_params',label:'参数管理',url:'/appbase/params',removable:true})"
|
||||
},
|
||||
{
|
||||
"name": "dapi_downapp",
|
||||
"label": "下位系统",
|
||||
"script": "this.open_tab({name:'dapi_downapp',label:'下位系统',url:'/dapi/downapp',removable:true})"
|
||||
},
|
||||
{
|
||||
"name": "dapi_downapikey",
|
||||
"label": "下位系统API Key",
|
||||
"script": "this.open_tab({name:'dapi_downapikey',label:'下位系统API Key',url:'/dapi/downapikey',removable:true})"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user