element-hq / element-hq/synapse
Create an Admin API to remove a local user from non-public rooms in a space
Open
A-Admin-API
A-Spaces
O-Uncommon
S-Minor
T-Enhancement
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 600
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 51
Description
This issue has been migrated from [#11275](https://github.com/matrix-org/synapse/issues/11275).
---
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.
Contributor guide
Assessment
This issue has not been assessed yet.