From 8b97b011f8517021634f1965d726d454dad8248b Mon Sep 17 00:00:00 2001 From: thinkgem Date: Tue, 11 Feb 2025 12:50:46 +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 058bbf2c..fcc1f5f5 100644 --- a/modules/core/src/main/resources/config/jeesite-core.yml +++ b/modules/core/src/main/resources/config/jeesite-core.yml @@ -276,7 +276,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 97b9e2fa..cef39481 100644 --- a/web-api/src/main/resources/config/application.yml +++ b/web-api/src/main/resources/config/application.yml @@ -446,6 +446,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 21dd443d..46079e2b 100644 --- a/web/src/main/resources/config/application.yml +++ b/web/src/main/resources/config/application.yml @@ -446,6 +446,9 @@ user: # # 以方便读取树结构数据权限的表时包含子节点,举例如下: # # ctrlDataAttrName: "officeCodesAndChildren", ctrlDataParentCodesAttrName: "" # dataScopeApiMode: false +# +# # v5.10.1 开始默认关闭 JOIN 模式的数据权限,如有需要可打开此参数 +# dataScopeJoinMode: false # 角色管理 #role: