menghaining commented on code in PR #7949:
URL: https://github.com/apache/inlong/pull/7949#discussion_r1920941387
##########
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/consume/InlongConsumeServiceImpl.java:
##########
@@ -194,8 +199,8 @@ public Integer update(InlongConsumeRequest request, String
operator) {
Integer consumeId = request.getId();
InlongConsumeEntity existEntity = consumeMapper.selectById(consumeId);
Preconditions.expectNotNull(existEntity, "inlong consume not exist
with id " + consumeId);
- Preconditions.expectTrue(existEntity.getInCharges().contains(operator),
Review Comment:
why can this statement not verify the current user's permission? why replace
this statement?
--
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]