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

fixed /player delete. #281

Conversation

Kingofthehill4965
Copy link
Contributor

I saw the bug report in the server that it does not show if the ball is traded if the user who gave that ball deletes their data afterwards. This should fix it since now only the instances the player owns are getting deleted and not all the player data. Please review

Copy link
Member

@laggron42 laggron42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, thanks for the contribution!

However, this is not the right way to do things as we need the Player object to be deleted for GDPR purposes. What should be done instead is to modify the SQL schema such that deleting a row does not cascade over a trade model.

Sorry, I know it's annoying having to redo things, especially given how painful aerich can be, if you want I can walk you through this, I contacted you on Discord.

@Kingofthehill4965
Copy link
Contributor Author

Hi... Sorry i couldn't respond earlier since I was travelling on vacation. I am free now and can respond as soon as possible

@Kowlin
Copy link
Contributor

Kowlin commented Aug 21, 2024

Pending discussion on #346

@Kowlin Kowlin added the blocked This is blocked by an issue or pull request awaiting completion label Aug 21, 2024
@flaree
Copy link
Member

flaree commented Aug 30, 2024

Hi there, we plan on making a soft delete functionality so I believe this PR will no longer be needed when that comes along.

We appreciate the work put in thus far.

@flaree flaree closed this Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked This is blocked by an issue or pull request awaiting completion
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants