WangJPLeo commented on code in PR #10718:
URL: https://github.com/apache/dolphinscheduler/pull/10718#discussion_r913417464
##########
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/QueueServiceImpl.java:
##########
@@ -160,7 +160,7 @@ public Map<String, Object> createQueue(User loginUser,
String queue, String queu
queueMapper.insert(queueObj);
result.put(Constants.DATA_LIST, queueObj);
putMsg(result, Status.SUCCESS);
-
+ resourcePermissionCheckService.postHandle(AuthorizationType.QUEUE,
loginUser.getId(), Collections.singletonList(queueObj.getId()), logger);
Review Comment:
I think it is needed, including other methods involving data manipulation.
This can be used as an optimization item to do an overall transaction
investigation later.
--
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]