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

Matt Gilman updated NIFI-16654:
-------------------------------
    Status: Patch Available  (was: In Progress)

> Allow editing component configuration from the Connector canvas in 
> troubleshooting mode
> ---------------------------------------------------------------------------------------
>
>                 Key: NIFI-16654
>                 URL: https://issues.apache.org/jira/browse/NIFI-16654
>             Project: Apache NiFi
>          Issue Type: Task
>          Components: Core UI
>            Reporter: Matt Gilman
>            Assignee: Matt Gilman
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> While a Connector is in troubleshooting mode, the framework allows the 
> components it manages to be modified. The Connector canvas does not expose 
> this: the context menu always offers View Configuration and every 
> configuration dialog opens read-only, regardless of the Connector state or 
> the user's permissions.
> Current behavior
> - The context menu item is always labeled View Configuration.
> - The configuration dialogs for processors, ports, connections, process 
> groups, remote process groups, and labels always open read-only, because the 
> entity permissions are overridden to read-only before the dialog opens.
> Proposed behavior
> - When the Connector is in troubleshooting mode and the user has write 
> permission to the clicked component, the context menu offers Configure and 
> opens the dialog in editable mode.
> - Saving from an editable dialog updates the component through the 
> Connector-managed flow and refreshes the canvas.
> - Labels are offered for configuration only in that same state, since a 
> read-only label dialog has nothing to show beyond what the canvas renders.
> - Funnels remain excluded because they have no configuration.
> - Outside troubleshooting mode, or without write permission, the current 
> read-only View Configuration behavior remains unchanged.
> Acceptance criteria
> - In troubleshooting mode, with write permission, right-clicking a processor, 
> port, connection, process group, or remote process group shows Configure and 
> opens an editable dialog whose changes are saved.
> - In troubleshooting mode, with write permission, right-clicking a label 
> shows Configure.
> - Without troubleshooting mode, or without write permission, the item reads 
> View Configuration, the dialog is read-only, and labels do not offer the item.
> - Unit tests cover the menu text, the conditions under which the item is 
> shown, and the editable and read-only dialog paths.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to