Skip to content

Unlink team from a project for allowing team deletion#6953

Merged
ramyaragupathy merged 22 commits intodevelopfrom
feat/team-deletion
Oct 28, 2025
Merged

Unlink team from a project for allowing team deletion#6953
ramyaragupathy merged 22 commits intodevelopfrom
feat/team-deletion

Conversation

@prabinoid
Copy link
Copy Markdown
Collaborator

What type of PR is this? (check all applicable)

  • 🍕 Feature
  • 🐛 Bug Fix
  • 📝 Documentation
  • 🧑‍💻 Refactor
  • ✅ Test
  • 🤖 Build or CI
  • ❓ Other (please specify)

Related Issue

Related to #6773

Describe this PR

If teams are linked to a project, the team cant be deleted and there is no way for team managers to unlink a team from a project without having edit permission to that particular project.

Provides a separate endpoint for team managers to unlink their team from a particular project.

@suzit-10
Copy link
Copy Markdown
Contributor

suzit-10 commented Jul 29, 2025

Frontend:
This PR introduces the UI to view projects linked to a team, grouped by status: Published, Draft, and Archived. It also allows users to view project details and unlink projects from the team.

Note: The Unlink button is only visible to users with team edit permissions.

Screenshot of project list :
image

@suzit-10
Copy link
Copy Markdown
Contributor

suzit-10 commented Sep 2, 2025

Screenshot of updated UI:

image

@manjitapandey
Copy link
Copy Markdown

image current error message if the project only have single team

@ramyaragupathy
Copy link
Copy Markdown
Member

Thanks for the screenshots @manjitapandey @suzit-10 - I think the warning message has to be persistent similar to the one we display in project edit section so that the user does not miss to notice what has gone wrong.
image

@prabinoid
Copy link
Copy Markdown
Collaborator Author

@suzit-10 Can we also add a confirmation pop up with message saying "This action cannot be reverted, are you sure you want to unlink?" or something similar. Thanks!

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Oct 9, 2025

@ramyaragupathy ramyaragupathy merged commit b623b97 into develop Oct 28, 2025
13 checks passed
ramyaragupathy added a commit that referenced this pull request Nov 4, 2025
…message

Show specific error messages on team unlinking failure (follow-up to #6953)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants