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

Blacklist room ID from federating #2392

Closed
Mikaela opened this issue Jul 28, 2017 · 5 comments · Fixed by #11228
Closed

Blacklist room ID from federating #2392

Mikaela opened this issue Jul 28, 2017 · 5 comments · Fixed by #11228
Labels
A-Federation A-Moderation Tools for moderating HSes: event redaction, media removal, purge admin API, reports from users, ... z-feature (Deprecated Label)

Comments

@Mikaela
Copy link
Contributor

Mikaela commented Jul 28, 2017

I think that Synapse should somehow have the ability to block specific room IDs, as somehow specified by homeserver administrators, from federating (preventing users from joining it or adding aliases or even preventing the room from having aliases).

Use case would be content illegal in the country where the homeserver is ran and potential legal trouble for homeserver administrator for hosting the room or content in it.

I think this issue has been discussed previously at Matrix, but I wasn't able to find an issue either from this repository or matrix-docs and when asking I was told to feel free to file it here.

@turt2live
Copy link
Member

Would the shutdown room API be suitable for this? #2291

@allquixotic
Copy link

+1, Would like to see this added.

@turt2live
Copy link
Member

This should be more possible via server ACLs. The shutdown room API can be invoked from an administrative perspective, while the ACL can be enacted at the room level.

@richvdh
Copy link
Member

richvdh commented Feb 26, 2019

It's not really what server ACLs do.

/admin/shutdown_room is probably the closest bet currently, though it's a bit of a sledgehammer against a nut.

@clokep clokep added the A-Moderation Tools for moderating HSes: event redaction, media removal, purge admin API, reports from users, ... label Sep 24, 2020
@MurzNN
Copy link

MurzNN commented Dec 28, 2020

For implement blocklisting:confused: blacklisting of room at now we can use https://github.com/matrix-org/synapse/blob/develop/docs/admin_api/rooms.md#delete-room-api for remove current room, and https://github.com/matrix-org/mjolnir tool for prevent new invites from this room to all local users.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Federation A-Moderation Tools for moderating HSes: event redaction, media removal, purge admin API, reports from users, ... z-feature (Deprecated Label)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants