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

check ENABLE_ACCOUNT_DELETION before account deletion #33681

Closed
wants to merge 6 commits into from

Conversation

JonasBM
Copy link
Contributor

@JonasBM JonasBM commented Nov 8, 2023

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.

@openedx-webhooks
Copy link

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:

  • supporting documentation
  • Open edX discussion forum threads
  • timeline information ("this must be merged by XX date", and why that is)
  • partner information ("this is a course on edx.org")
  • any other information that can help Product understand the context for the PR

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-webhooks openedx-webhooks added the open-source-contribution PR author is not from Axim or 2U label Nov 8, 2023
@mphilbrick211 mphilbrick211 added the needs test run Author's first PR to this repository, awaiting test authorization from Axim label Nov 9, 2023
@e0d e0d removed the needs test run Author's first PR to this repository, awaiting test authorization from Axim label Nov 9, 2023
@mphilbrick211 mphilbrick211 added the needs test run Author's first PR to this repository, awaiting test authorization from Axim label Nov 9, 2023
@mphilbrick211 mphilbrick211 removed the needs test run Author's first PR to this repository, awaiting test authorization from Axim label Nov 13, 2023
@mphilbrick211
Copy link

@openedx/2u-aperture @jsnwesson Hi there! Is this something you can review for us? If so, we can address the conflicts.

@mphilbrick211 mphilbrick211 added the waiting for eng review PR is ready for review. Review and merge it, or suggest changes. label Feb 21, 2024
@jsnwesson jsnwesson added the needs maintainer attention Issue or PR specifically needs the attention of the maintainer. label Feb 21, 2024
@jsnwesson
Copy link
Contributor

@mphilbrick211 I believe it is! I'll have our on-call engineer triage it for the team.

@deborahgu
Copy link
Member

@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.

@JonasBM
Copy link
Contributor Author

JonasBM commented Feb 21, 2024

@deborahgu Hi!
I believe the conflict is the result of another PR solving the same problem, but was already merged.
If this is the case, maybe this PR should be just closed.

@mphilbrick211
Copy link

@deborahgu Hi! I believe the conflict is the result of another PR solving the same problem, but was already merged. If this is the case, maybe this PR should be just closed.

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.

@pkulkark
Copy link
Contributor

@mphilbrick211 I can help review this PR as CC.

@deborahgu
Copy link
Member

@JonasBM speculated that this is no longer needed, is that true?

@JonasBM
Copy link
Contributor Author

JonasBM commented Mar 14, 2024

@JonasBM speculated that this is no longer needed, is that true?

Yes, there is another PR already merged that solves the problem.

@JonasBM
Copy link
Contributor Author

JonasBM commented Mar 14, 2024

This seems to be no longer necessary, I will close it to avoid more work on this.

@JonasBM JonasBM closed this Mar 14, 2024
@openedx-webhooks
Copy link

@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.

@deborahgu deborahgu removed waiting for eng review PR is ready for review. Review and merge it, or suggest changes. needs maintainer attention Issue or PR specifically needs the attention of the maintainer. labels Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
open-source-contribution PR author is not from Axim or 2U
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

7 participants