You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/10/19 08:21:20 UTC

[GitHub] [dolphinscheduler] zhuangchong commented on a diff in pull request #12411: [Bug-12410] [API]Fix the worker list result in workflow definition only has default

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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org