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

Create an Admin API to remove a local user from non-public rooms in a space #11275

@callahad

Description

@callahad

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.

Metadata

Metadata

Assignees

Labels

A-Admin-APIA-SpacesHierarchical organization of roomsO-UncommonMost users are unlikely to come across this or unexpected workflowS-MinorBlocks non-critical functionality, workarounds exist.T-EnhancementNew features, changes in functionality, improvements in performance, or user-facing enhancements.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions