elektra
elektra copied to clipboard
[Elektra] Add project delete functionality for project admins using `prodel` tool
Business need:
End users should be able to delete projects themselves without having to open support tickets. This was previously disabled because various assets need to be cleaned up (servers, ports, security groups, etc...) before a project can be deleted. The prodel
tool is already in use right now for cloud admins to make it easier for support colleagues to find all the resources that need to be cleaned up if any.
Task:
Add prodel
functionality to projects ("Delete" action underneath the "Edit Project" action from the project info menu). Triggering "delete" will open a modal window which will call the prodel api to check if the project can be deleted.
If the api call returns with resources that need to be deleted first, then display them in a list. If the api call returns with the information that the project can be deleted, offer a delete button to the user which will call the prodel delete api call. Once the call returns we should redirect the user to the domain homepage since the project will be inacessible at that point.