You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should deletion be possible at all? If yes, should all repos deleted as well, or should the user remain in the database and just be deactivated? If the former, then how to handle dangling references into deleted repos?
The text was updated successfully, but these errors were encountered:
If a user wants to delete their own account, there must not be any repositories left in their namespace. Not even the ones that are scheduled for deletion.
Any admin of a repository can schedule a deletion of the repository.
When an admin of a repository schedules a deletion, the repository is marked scheduled_for_deletion for a day and is not listed any more in the API (except for its admins). All admins of the repository are notified via email about the deletion. Only admins of the repository can see it and unschedule the deletion. The actual deletion happens asynchronously after a day.
Github also has the restriction that a user cannot be deleted if the user is an admin of an organization. We could also restrict this restriction to the last admin.
Should deletion be possible at all? If yes, should all repos deleted as well, or should the user remain in the database and just be deactivated? If the former, then how to handle dangling references into deleted repos?
The text was updated successfully, but these errors were encountered: