fix: 修复视图中数据集字段、数据,未受数据集权限控制的问题

This commit is contained in:
junjun 2022-02-24 14:33:11 +08:00
parent 034d12c697
commit d5c0a625fa

View File

@ -405,7 +405,7 @@ public class DataSetTableService {
public DataSetTableDTO getWithPermission(String id, Long user) {
CurrentUserDto currentUserDto = AuthUtils.getUser();
Long userId = user != null ? currentUserDto.getUserId() : user;
Long userId = user != null ? user : currentUserDto.getUserId();
DataSetTableRequest dataSetTableRequest = new DataSetTableRequest();
dataSetTableRequest.setId(id);