Mark User as deleted before deleting in X weeks completely #8885

Open
opened 2025-11-02 08:22:03 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @6543 on GitHub (Apr 29, 2022).

"Wouldn't it be better to have the API mark the user "to be deleted" and delete after X weeks ? This would make revert easier, in case someone account is compromised."

good idea, will require extra work for ALL delete and GET functions from models, so i thin it's a own issue (and worth it's own pull)

Originally posted by @6543 in https://github.com/go-gitea/gitea/issues/19439#issuecomment-1113147247

Originally created by @6543 on GitHub (Apr 29, 2022). "Wouldn't it be better to have the API mark the user "to be deleted" and delete after X weeks ? This would make revert easier, in case someone account is compromised." good idea, will require extra work for ALL delete and GET functions from models, so i thin it's a own issue (and worth it's own pull) _Originally posted by @6543 in https://github.com/go-gitea/gitea/issues/19439#issuecomment-1113147247_
GiteaMirror added the type/featuretype/proposal labels 2025-11-02 08:22:03 -06:00
Author
Owner

@lunny commented on GitHub (May 9, 2022):

I think we can use the exist prohibit status to stop user do anything and then have a cron to delete it in background.

@lunny commented on GitHub (May 9, 2022): I think we can use the exist prohibit status to stop user do anything and then have a cron to delete it in background.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#8885