[ 
https://issues.apache.org/jira/browse/NIFI-3247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15787829#comment-15787829
 ] 

ASF subversion and git services commented on NIFI-3247:
-------------------------------------------------------

Commit 0d14db72f52005e5da3b01582ec8594ed9686226 in nifi's branch 
refs/heads/master from [~mcgilman]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=0d14db7 ]

NIFI-3247:
- Removing unnecessary authorization check during second phase of connection 
creation.
- Ensuring that the remote group port returns the correct resource type though 
not super critical since it is not possible to create policies for remote ports.

This closes #1353.


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

Reply via email to