Always show confirmation dialog when deleting high-risk resources, regardless of "dismiss all" setting
#5,106 建立於 2026年6月25日
倉庫指標
- 星標
- (30 顆星)
- PR 合併指標
- (平均合併 5天 13小時) (30 天內合併 57 個 PR)
描述
Description
When deleting a resource, users see a confirmation dialog with a checkbox to dismiss all future confirmation dialogs. Once checked, no further confirmation is shown for any deletion.
We'd like to enforce the confirmation dialog for high-risk resources regardless of this setting, since accidentally deleting them can be destructive or cause data loss that cannot be easily undone.
High-risk resources identified so far:
- Namespaces
- Service Instances
- Cloud Manager resources (Redis, NFS)
The list may be extended as we learn more.
Reasons
Reported by a user who noted that silencing all confirmation dialogs creates a risk of accidentally deleting critical resources. For resources like namespaces or stateful cloud resources, the impact of an accidental deletion is severe and often irreversible. Enforcing the dialog for these cases is a safety net that should not be bypassable.
Acceptance Criteria
- For high-risk resources (namespaces, service instances, Cloud Manager resources), the confirmation dialog is always shown, even when the user has previously checked "dismiss all future confirmation dialogs"
- For all other resources, the existing "dismiss all" behavior is unchanged
- The list of high-risk resources is maintainable (easy to extend without significant code changes)
Attachments
Related Issues