From 728de01676fa32a62dcda3b7c1595d2943c2569c Mon Sep 17 00:00:00 2001 From: thinkgem Date: Tue, 11 Feb 2025 12:52:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20user.dataScopeJoinMode=20?= =?UTF-8?q?=E5=8F=82=E6=95=B0=EF=BC=8C=E9=BB=98=E8=AE=A4=E5=85=B3=E9=97=AD?= =?UTF-8?q?=20JOIN=20=E6=A8=A1=E5=BC=8F=E7=9A=84=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E6=9D=83=E9=99=90=EF=BC=8C=E5=A6=82=E6=9C=89=E9=9C=80=E8=A6=81?= =?UTF-8?q?=E5=8F=AF=E6=89=93=E5=BC=80=E6=AD=A4=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/core/src/main/resources/config/jeesite-core.yml | 5 ++++- web-api/src/main/resources/config/application.yml | 3 +++ web/src/main/resources/config/application.yml | 3 +++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/modules/core/src/main/resources/config/jeesite-core.yml b/modules/core/src/main/resources/config/jeesite-core.yml index c16a527e..449f08bb 100644 --- a/modules/core/src/main/resources/config/jeesite-core.yml +++ b/modules/core/src/main/resources/config/jeesite-core.yml @@ -279,7 +279,10 @@ user: # 以方便读取树结构数据权限的表时包含子节点,举例如下: # ctrlDataAttrName: "officeCodesAndChildren", ctrlDataParentCodesAttrName: "" dataScopeApiMode: false - + + # v5.10.1 开始默认关闭 JOIN 模式的数据权限,如有需要可打开此参数 + dataScopeJoinMode: false + # 角色管理 role: # 扩展数据权限定义:3:本部门;4:本公司;5:本部门和本公司 diff --git a/web-api/src/main/resources/config/application.yml b/web-api/src/main/resources/config/application.yml index 73eff112..8c2ab1ec 100644 --- a/web-api/src/main/resources/config/application.yml +++ b/web-api/src/main/resources/config/application.yml @@ -443,6 +443,9 @@ user: # # 以方便读取树结构数据权限的表时包含子节点,举例如下: # # ctrlDataAttrName: "officeCodesAndChildren", ctrlDataParentCodesAttrName: "" # dataScopeApiMode: false +# +# # v5.10.1 开始默认关闭 JOIN 模式的数据权限,如有需要可打开此参数 +# dataScopeJoinMode: false # 角色管理 #role: diff --git a/web/src/main/resources/config/application.yml b/web/src/main/resources/config/application.yml index db4b215b..f2e48f4b 100644 --- a/web/src/main/resources/config/application.yml +++ b/web/src/main/resources/config/application.yml @@ -443,6 +443,9 @@ user: # # 以方便读取树结构数据权限的表时包含子节点,举例如下: # # ctrlDataAttrName: "officeCodesAndChildren", ctrlDataParentCodesAttrName: "" # dataScopeApiMode: false +# +# # v5.10.1 开始默认关闭 JOIN 模式的数据权限,如有需要可打开此参数 +# dataScopeJoinMode: false # 角色管理 #role: