Skip to content
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

Implement team deletion and refactor user deletion #5196

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

zoldar
Copy link
Contributor

@zoldar zoldar commented Mar 13, 2025

Changes

This PR adds capability to delete current team from a dedicated section under "Team Settings > Danger Zone".

User deletion procedure was refactored as well to explicitly prevent deletion if associated personal team has an active subscription. The user deletion routine will be further extended in a follow-up with more explicit messaging for cases of setup teams with the user for sole owner.

The team deletion procedure also accounts for ensuring the subscription is canceled first before allowing to delete the team.

Team deletion can be carried out only by one of the team owners.

Tests

  • Automated tests have been added

@zoldar zoldar requested a review from aerosol March 13, 2025 15:42
@zoldar zoldar marked this pull request as ready for review March 13, 2025 15:42
@zoldar zoldar added the preview label Mar 13, 2025
Copy link

Preview environment👷🏼‍♀️🏗️
PR-5196

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant