Skip to content

"Delete Protection" is not honored when clean up an account or a domain #12895

@weizhouapache

Description

@weizhouapache

problem

As title.

Steps to reproduce the issue:

  • Create a VM

  • Edit the VM and enable “Delete Protection”

  • Delete the VM, got an error as expected:

Image
  • Disable the account → the VM is stopped, and Delete Protection remains enabled

  • Delete the account → the VM is expunged

**Expected behavior: The VM should not be deleted when Delete Protection is enabled.

The same issue also occurs when cleaning up a domain.**

versions

ACS 4.22
(4.20.2 is also impacted)

The steps to reproduce the bug

...

What to do about it?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions