From 727fc6b9b51fcc0b58f940d480b2ea8c40d5c054 Mon Sep 17 00:00:00 2001 From: p Date: Fri, 14 Aug 2026 15:51:27 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20rp.json=20=E8=A1=A5=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=E6=A0=B9=E8=B7=AF=E5=BE=84=EF=BC=8C=E5=AE=8C=E6=95=B4=E8=87=AA?= =?UTF-8?q?=E8=B6=B3=20r:p=20=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- conf/rp.json | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/conf/rp.json b/conf/rp.json index 0e235b4..10e749f 100644 --- a/conf/rp.json +++ b/conf/rp.json @@ -1,5 +1,5 @@ { - "_comment": "pipeline-app RBAC 权限定义(r:p 数据)。角色 -> 路径模式。路径模式支持:精确匹配 /pipeline-sdlc/index.ui;前缀匹配 /product_management/** 或 /pricing/%(匹配该前缀下所有路径)。由 scripts/import_rp.py 导入 permission + rolepermission 表。", + "_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", @@ -17,22 +17,22 @@ "/unipay/usermenu.ui" ], "logined": [ - "/pipeline-sdlc/**", - "/product_management/**", - "/discount/**", - "/pricing/**", - "/unipay/**", - "/appbase/**", - "/showcase/**", - "/tenant/**", - "/pipeline_core/**", - "/pipeline_ops/**", - "/pipeline_dist/**", - "/pipeline_task/**", - "/app_audit/**" + "/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/**" ], "owner.superuser": [ - "/rbac/**" + "/rbac", "/rbac/**" ] } }