[ https://issues.apache.org/jira/browse/NIFI-3247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15787832#comment-15787832 ]
ASF GitHub Bot commented on NIFI-3247: -------------------------------------- Github user pvillard31 commented on the issue: https://github.com/apache/nifi/pull/1353 Visually verified code change, full build with contrib-check, manually fixed conflict with master. LGTM. Merged to master. Thanks @mcgilman! > Remove unnecessary authorization check when creating a Connection > ----------------------------------------------------------------- > > Key: NIFI-3247 > URL: https://issues.apache.org/jira/browse/NIFI-3247 > Project: Apache NiFi > Issue Type: Bug > Components: Core Framework > Reporter: Matt Gilman > Assignee: Matt Gilman > Fix For: 1.2.0 > > > We are currently performing an extra unnecessary authorization check in the > StandardConnectionDAO. The source and destinations were already authorized as > part of the phase one (in the two phase commit). The extra check happens to > be in phase two and could lead to issues if it fails because a node has > reloaded its policies from the configured authorizer. > This additionally leads to issues when the source or destination component is > a port in a RemoteProcessGroup that is self-referencing. This issue caused by > NIFI-3155. However, removing the extra checks will resolve this issue > NIFI-3155 still needs to be addressed for the reasons described. -- This message was sent by Atlassian JIRA (v6.3.4#6332)