Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add organization soft deletion #16166

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Emyrk opened this issue Jan 16, 2025 · 3 comments
Closed

Add organization soft deletion #16166

Emyrk opened this issue Jan 16, 2025 · 3 comments
Assignees
Labels
multi-org temporary label for multiple organizations related work s3 Bugs that confuse, annoy, or are purely cosmetic

Comments

@Emyrk
Copy link
Member

Emyrk commented Jan 16, 2025

Once resources exist for an organization, you can never delete it. We should enable soft deletes.

@coder-labeler coder-labeler bot added the needs-triage Issue that require triage label Jan 16, 2025
@stirby
Copy link
Collaborator

stirby commented Jan 23, 2025

@Emyrk just to confirm, this means that even once all resources (workspaces, templates, groups, etc) are deleted from an organization, the organization itself cannot be deleted?

@stirby stirby added s3 Bugs that confuse, annoy, or are purely cosmetic multi-org temporary label for multiple organizations related work and removed needs-triage Issue that require triage labels Jan 23, 2025
@Emyrk
Copy link
Member Author

Emyrk commented Jan 23, 2025

No, it means once you delete all resources then it can be deleted.

You cannot delete an org because a deleted workspace is just "delete = true" and it is hidden.

So you can never delete organizations today.

Soft deleting means we should allow deleting organizations, and we just hide it in the data model.

@hugodutka
Copy link
Contributor

hugodutka commented Jan 29, 2025

Once soft deleting is added, please update the relevant organizations telemetry, or ping me to do it. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
multi-org temporary label for multiple organizations related work s3 Bugs that confuse, annoy, or are purely cosmetic
Projects
None yet
Development

No branches or pull requests

5 participants