Matt Gilman created NIFI-3247:
---------------------------------
Summary: 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)