mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-11-30 03:08:01 +08:00
fix resource data authorization does not take effect. (#13318)
This commit is contained in:
parent
1796577b53
commit
84b1f6dcd2
@ -235,7 +235,7 @@ public class ResourcePermissionCheckServiceImpl implements ResourcePermissionChe
|
||||
}
|
||||
List<Resource> ownResourceList = resourceMapper.queryResourceListAuthored(userId, -1);
|
||||
relationResources.addAll(ownResourceList);
|
||||
return ownResourceList.stream().map(Resource::getId).collect(toSet());
|
||||
return relationResources.stream().map(Resource::getId).collect(toSet());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user