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

Tamas Palfy reassigned NIFI-7736:
---------------------------------

    Assignee: Tamas Palfy

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