SbloodyS commented on code in PR #10998:
URL: https://github.com/apache/dolphinscheduler/pull/10998#discussion_r945399999


##########
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ResourcesServiceImpl.java:
##########
@@ -144,8 +141,10 @@ public Result<Object> createDirectory(User loginUser,
                                           int pid,
                                           String currentDir) {
         Result<Object> result = new Result<>();
-        String funcPermissionKey = type.equals(ResourceType.FILE) ? 
ApiFuncIdentificationConstant.FOLDER_ONLINE_CREATE : 
ApiFuncIdentificationConstant.UDF_FOLDER_ONLINE_CREATE;
-        boolean canOperatorPermissions = canOperatorPermissions(loginUser, 
null, AuthorizationType.RESOURCE_FILE_ID, funcPermissionKey);
+        String funcPermissionKey = type.equals(ResourceType.FILE) ? 
ApiFuncIdentificationConstant.FOLDER_ONLINE_CREATE

Review Comment:
   Please put the modification of this file in other pr.



-- 
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]

Reply via email to