Skip to content

Conversation

@SURYAS1306
Copy link

Description

Backport of #12607 to the 4.22 branch.

This change fixes an issue where account deletion was blocked if the account
was listed as an administrator of projects that were already removed
(removed is not null).

The fix ensures that only active projects are considered when checking
whether an account manages projects, allowing deletion when only deleted
projects are associated.

This includes the same defensive check and unit test added in the main branch.

Fixes #12601


Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • Test (unit test code)

Bug Severity

  • Minor

@DaanHoogland
Copy link
Contributor

@SURYAS1306 can you rebase on 4.20? You do not have to create a new PR. Just rebase your branch and select the new target. We will merge forwards and fixes on older branches.

@SURYAS1306
Copy link
Author

Hi @DaanHoogland ,

I rebased the fix onto the 4.20 branch as requested.

I couldn’t find an option to change the base branch of the existing PR, so I opened a new one instead.

New PR: #12615

This targets the correct 4.20 branch and contains the same fix and test.
Thanks!

@DaanHoogland
Copy link
Contributor

replaced by #12615

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants