Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
satellite/admin: Fix user account delete
Delete a user's account that was member of foreign projects failed because the endpoint was getting the list of projects that the account is member which implies owned project, but also the foreign projects that's member of. This commit fix the issue calling the right method to only get the list of owned projects to check that they are zero before proceeding and add a test to verify it. Change-Id: I0071394b1b26366bad8dfff3be1fc6edd418ac85
- Loading branch information
1 parent
54ef3f1
commit 9586849
Showing
2 changed files
with
107 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters