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

Matt Gilman commented on NIFI-4693:
-----------------------------------

[~benwatson528] This is not an unwanted feature. However, it is something that 
folks are very passionate about and I believe there have been discussions about 
it in the past. Currently, there are some checks in place to ensure the action 
is safe.

- There is no data in the PG
- The PG's ports are not connected to components outside of the PG
- All Controller Services and Templates have been removed

Past discussions have offered a few options to support folks that want to 
verify each delete action and folks that prefer a more streamlined experience.

- Implement true Undo capabilities (a totally separate effort that may make 
confirmation OBE)
- Allow an admin to configure (maybe in nifi.properties) whether the UI should 
confirm all delete actions
- Support user preferences (would likely require the introduction of 
cluster-wide server-side state per user)

Before investing a lot of time, it may be worthwhile to start a DISCUSS thread 
on either the user or dev mailing list to gauge current preferences of the 
community.

> Prompt for confirmation when deleting a Process Group
> -----------------------------------------------------
>
>                 Key: NIFI-4693
>                 URL: https://issues.apache.org/jira/browse/NIFI-4693
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core UI
>    Affects Versions: 1.4.0
>            Reporter: Ben Watson
>            Priority: Minor
>              Labels: beginner, process-group, ui
>
> It is currently possible to delete a Process Group in one click. Accidentally 
> deleting a Process Group when trying to delete other Processes can result in 
> lots of disruption.
> My proposal is for a confirmation box "Are you sure you want to delete this 
> Process Group?" to appear when deleting a Process Group.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to