Skip to content
This repository was archived by the owner on Jan 19, 2026. It is now read-only.
/ conduwuit Public archive
This repository was archived by the owner on Jan 19, 2026. It is now read-only.

Removing power levels from deactivated users #446

@tcpipuk

Description

@tcpipuk

By design, Matrix doesn't automatically remove a user's power levels when they leave a room, and this is useful as an admin can rejoin a room to regain control without the room becoming "headless".

However, there is currently a risk that when a user is deactivated (e.g. when a server is being decommissioned) they'll remain in the power level list forever, so if a future server is created on the same domain, a malicious user can recreate the MXID and rejoin rooms with the same power level.

We know it's possible to go round changing these manually, but users rarely do, and many aren't familiar with The Matrix Way of storing power levels forever and assume it'll just work like other platforms that revert you to default on departure.

My ask: could we have a version of deactivation (a variant of the admin command, perhaps?) that takes care of other activities like sending a power level change for the user to all rooms they have non-default power levels in? It could even be a (non-default) config option to have this deactivation used automatically when someone deactivates themselves.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions