-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
check ENABLE_ACCOUNT_DELETION before account deletion #33681
Conversation
Thanks for the pull request, @JonasBM! Please note that it may take us up to several weeks or months to complete a review and merge your PR. Feel free to add as much of the following information to the ticket as you can:
All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here. Please let us know once your PR is ready for our review and all tests are green. |
@openedx/2u-aperture @jsnwesson Hi there! Is this something you can review for us? If so, we can address the conflicts. |
@mphilbrick211 I believe it is! I'll have our on-call engineer triage it for the team. |
@mphilbrick211 I'm adding this to our queue, but is there any reason not to address the conflicts now? Obviously we can't put an approval on it one way or t'other without the conflicts addressed. |
@deborahgu Hi! |
Thanks, @deborahgu and @jsnwesson! RE: the branch conflicts, we've run into situations where PR authors have to repeatedly resolve conflicts while waiting for review (this spans across all repos / teams), but if you have an ETA on when you'll be able to review, then @JonasBM can go ahead and resolve the conflicts. |
@mphilbrick211 I can help review this PR as CC. |
@JonasBM speculated that this is no longer needed, is that true? |
Yes, there is another PR already merged that solves the problem. |
This seems to be no longer necessary, I will close it to avoid more work on this. |
@JonasBM Even though your pull request wasn’t merged, please take a moment to answer a two question survey so we can improve your experience in the future. |
Referenced issue: Allow Disable Account Deletion
ENABLE_ACCOUNT_DELETION hides the option of deletion, but the user is still able to make a request to the backend.
This PR ensures that account deletion is allowed, and if not, returns an HTTP 403 "Forbidden" response.