Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Add more information what happens when a user is deactivated #11083

Merged
merged 4 commits into from
Oct 22, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/11083.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add more information what happens when a user is deactivated.
dklimpel marked this conversation as resolved.
Show resolved Hide resolved
10 changes: 10 additions & 0 deletions docs/admin_api/user_admin_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -341,11 +341,13 @@ The following actions are performed when deactivating an user:
- Remove all 3PIDs from the homeserver
- Delete all devices and E2EE keys
- Delete all access tokens
- Delete all pushers
- Delete the password hash
- Removal from all rooms the user is a member of
- Remove the user from the user directory
- Reject all pending invites
- Remove all account validity information related to the user
- Remove from monthly active users

The following additional actions are performed during deactivation if `erase`
is set to `true`:
Expand All @@ -354,6 +356,14 @@ is set to `true`:
- Remove the user's avatar URL
- Mark the user as erased

The following actions are **NOT** performed. The list may be incomplete.

- Remove mappings of SSO IDs
- [Delete media uploaded](#delete-media-uploaded-by-a-user) by user (included avatar images)
- Delete send and received messages
dklimpel marked this conversation as resolved.
Show resolved Hide resolved
- Delete E2E cross signing keys
dklimpel marked this conversation as resolved.
Show resolved Hide resolved
- Remove creation timestamp
dklimpel marked this conversation as resolved.
Show resolved Hide resolved
- [Remove overwritten ratelimit](#override-ratelimiting-for-users)
dklimpel marked this conversation as resolved.
Show resolved Hide resolved

## Reset password

Expand Down