pipeline-app/conf/rp.json

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