-
-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
delete
removes user even if another context is using it (#837)
I added a check to make sure that we don't delete a user or a cluster that is in use by another context than the one getting deleted. I also added a unit test that deletes a context that references a user that is referenced within another context. Signed-off-by: Yarden Shoham <git@yardenshoham.com>
- Loading branch information
1 parent
1cb4471
commit 9f08246
Showing
2 changed files
with
52 additions
and
2 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