zhuangchong commented on code in PR #12411:
URL: https://github.com/apache/dolphinscheduler/pull/12411#discussion_r999102451
##########
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/permission/ResourcePermissionCheckServiceImpl.java:
##########
@@ -467,9 +462,6 @@ public boolean permissionCheck(int userId, String url,
Logger logger) {
@Override
public Set<Integer> listAuthorizedResource(int userId, Logger logger) {
- if (userId != 0) {
Review Comment:
This is tenant data. When saving the workflow definition, you need to select
a tenant (users of historical versions can query all tenant data), so at
present, ordinary users should not be restricted to query tenant permissions.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]