Ratnesh Upadhyay created OFBIZ-13405:
----------------------------------------

             Summary: Add Confirmation mechanism for Delete Operations in 
WebTools to Prevent Accidental Data Loss
                 Key: OFBIZ-13405
                 URL: https://issues.apache.org/jira/browse/OFBIZ-13405
             Project: OFBiz
          Issue Type: Improvement
          Components: webtools
            Reporter: Ratnesh Upadhyay


Currently, delete operations executed through WebTools do not require explicit 
user confirmation before performing destructive actions. This creates a high 
risk of accidental data deletion, especially when WebTools is used against 
production environments.

A confirmation mechanism should be introduced for all delete actions to ensure 
users intentionally perform destructive operations.


*Current Behavior* *:*

WebTools provides direct administrative access to entities, records and 
maintenance operations. In the current implementation:
 * Clicking a delete action immediately executes the deletion.
 * There is no confirmation modal, warning message, or secondary validation 
step.
 * Users can accidentally trigger delete operations due to misclicks or 
navigation errors.
 * Deleted data may not be recoverable over production instance.

This creates operational and data integrity risks.

*Expected Behavior :* 

Before executing any delete operation in WebTools:
 # User should receive a confirmation dialog/modal.
 # Warning message should clearly indicate:
 ** Action is irreversible
 ** Which entity/record is being deleted
 # User must explicitly confirm the operation.
 # Delete should proceed only after confirmation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to