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: