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

ASF GitHub Bot commented on NIFI-375:
-------------------------------------

Github user mcgilman commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/2990#discussion_r217140684
  
    --- Diff: 
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-cluster/src/main/java/org/apache/nifi/cluster/manager/ComponentEntityMerger.java
 ---
    @@ -68,10 +75,13 @@ default void merge(final EntityType clientEntity, final 
Map<NodeIdentifier, Enti
                 if (clientEntity.getBulletins().size() > 
MAX_BULLETINS_PER_COMPONENT) {
                     
clientEntity.setBulletins(clientEntity.getBulletins().subList(0, 
MAX_BULLETINS_PER_COMPONENT));
                 }
    +        } else {
    +            clientEntity.setBulletins(null);
    --- End diff --
    
    I think we need to continue to set the component to null when `canRead` is 
false. It may have been changed to accommodate an earlier iteration of this PR.


> New user role: Operator who can start and stop components
> ---------------------------------------------------------
>
>                 Key: NIFI-375
>                 URL: https://issues.apache.org/jira/browse/NIFI-375
>             Project: Apache NiFi
>          Issue Type: New Feature
>          Components: Core Framework
>            Reporter: Daniel Ueberfluss
>            Assignee: Koji Kawamura
>            Priority: Major
>
> Would like to have a user role that allows a user to stop/start processors 
> but perform no other changes to the dataflow.
> This would allow users to address simple problems without providing full 
> access to modifying a data flow. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to