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

User delete api endpoint #251

Open
JasonLovesDoggo opened this issue Jan 14, 2024 · 3 comments
Open

User delete api endpoint #251

JasonLovesDoggo opened this issue Jan 14, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@JasonLovesDoggo
Copy link
Member

replace ability to send a DELETE request to v3 obj single (e.g. DELETE /api/v3/obj/user/single/JasonLovesDoggo?lookup=username) with proper deletion functionality.
https://discord.com/channels/861455612093530162/1118723959194648586/1196208344067743884

  1. Scrub user data (bio/grad year etc...)
  2. set is_active to False
  3. return 204
@JasonLovesDoggo JasonLovesDoggo added the enhancement New feature or request label Jan 14, 2024
@JasonLovesDoggo JasonLovesDoggo self-assigned this Jan 14, 2024
@JasonLovesDoggo
Copy link
Member Author

current options are.

"send post request then deleted?"
"send post request then send email to confirm"
"send post request then "deleted in 30 days"

JasonLovesDoggo added a commit that referenced this issue Jan 31, 2024
@JasonLovesDoggo
Copy link
Member Author

all that is really left is the templates being written (by @nelimalu) and then frontend/app adding the endpoint to their code.

as well, there should be a restriction for new usernames that they cannot start with deleted

@JasonLovesDoggo
Copy link
Member Author

JasonLovesDoggo commented Jan 31, 2024

oh and api now needs to return is_deleted as well, which I will do

JasonLovesDoggo added a commit that referenced this issue Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants