This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Description
While we await proper, Spec-based tools for controlling permissions within a Space, it would be a nice stopgap to build an ad hoc Admin API which:
- Accepts a local MXID and Space ID
- Removes the given user from all non-public rooms in that space and its sub-spaces, including the space itself.
By constraining this to local users, the server can initiate the leave directly, without needing an admin or moderation bot in each room.