esecules commented on code in PR #10079:
URL: https://github.com/apache/nifi/pull/10079#discussion_r2198935751
##########
nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/StandardNiFiServiceFacade.java:
##########
@@ -6846,18 +6846,23 @@ public FlowAnalysisResultEntity
getFlowAnalysisResult(String processGroupId) {
}
public Stream<RuleViolation> getRuleViolationStream(String processGroupId)
{
- ProcessGroup processGroup =
processGroupDAO.getProcessGroup(processGroupId);
Review Comment:
I have a question about the original implementation. Would it have allowed a
user to view violations in a child process group of the current process group
regardless of the level of permission the user had on that process group?
I see no evidence that it is making this check. Should it be?
--
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]