forked from github/dataease
fix: 修复视图中数据集字段、数据,未受数据集权限控制的问题
This commit is contained in:
parent
d5c0a625fa
commit
c1e9d3570d
@ -405,7 +405,7 @@ public class DataSetTableService {
|
||||
|
||||
public DataSetTableDTO getWithPermission(String id, Long user) {
|
||||
CurrentUserDto currentUserDto = AuthUtils.getUser();
|
||||
Long userId = user != null ? user : currentUserDto.getUserId();
|
||||
Long userId = currentUserDto != null ? currentUserDto.getUserId() : user;
|
||||
|
||||
DataSetTableRequest dataSetTableRequest = new DataSetTableRequest();
|
||||
dataSetTableRequest.setId(id);
|
||||
|
Loading…
Reference in New Issue
Block a user