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: