[ 
https://issues.apache.org/jira/browse/NIFI-7736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Payne resolved NIFI-7736.
------------------------------
    Resolution: Fixed

> Duplicated permission checks in Empty All Queues
> ------------------------------------------------
>
>                 Key: NIFI-7736
>                 URL: https://issues.apache.org/jira/browse/NIFI-7736
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Peter Turcsanyi
>            Assignee: Tamas Palfy
>            Priority: Major
>             Fix For: 1.12.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> {{ProcessGroupResource.authorizeHandleDropAllFlowFilesRequest()}} checks the 
> permissions for the Empty All Queues feature.
> It is traversing over the process group hierarchy to check all the 
> connections in the sub process groups.
> Traversing seems to be not needed because {{getEncapsulatedConnections()}} 
> returns all the connections in the hierarchy so the permissions can be 
> checked the parent group level. Traversing + {{getEncapsulatedConnections()}} 
> leads to duplicated permission checks for connections in the children process 
> groups.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to