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

Kicking an external user gives an error, even though it should be allowed by the specification #16736

Open
marijnvanwezel opened this issue Dec 7, 2023 · 0 comments
Labels
A-Membership A-Spec-Compliance places where synapse does not conform to the spec O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Tolerable Minor significance, cosmetic issues, low or no impact to users.

Comments

@marijnvanwezel
Copy link

Description

The specification allows kicking an external user (https://spec.matrix.org/v1.8/client-server-api/#room-membership):

image

However, Synapse returns an error when you try to kick a user that is external:

{'errcode': 'M_FORBIDDEN', 'error': 'The target user is not in the room'}

Steps to reproduce

  • Create a room
  • Try to kick a user that is not in the room

Homeserver

local

Synapse Version

v1.93.0

Installation Method

Docker (matrixdotorg/synapse)

Database

SQLite

Workers

Single process

Platform

Docker Container (matrixdotorg/synapse:v1.93.0)

Configuration

We use the default homeserver options, but with ratelimiting disabled.

Relevant log output

n/a

Anything else that would be useful to know?

No response

@DMRobertson DMRobertson added A-Spec-Compliance places where synapse does not conform to the spec S-Tolerable Minor significance, cosmetic issues, low or no impact to users. A-Membership O-Uncommon Most users are unlikely to come across this or unexpected workflow labels Dec 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Membership A-Spec-Compliance places where synapse does not conform to the spec O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Tolerable Minor significance, cosmetic issues, low or no impact to users.
Projects
None yet
Development

No branches or pull requests

2 participants