You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
When, as the admin of the community, I remove a user which is not a local user, I get the following message in the client:
Error
Failed to remove user from community
Please note that the user ends up in a between state, not in the list of members any more but still having visibility over the community (even after reload / sign out / sign in). Actually that user cannot leave the community either once he doesn't appear in the members' list.
Steps to reproduce
Invite a user external to your local instance to a community
That user accepts the invitation
As the admin of the community, remove that user
That's when I get the error message and end up with a half-way removed user stuck with that community
I think the removed user can also still claim the Flair/badge
Expected
Same behaviour for local/ external users, whether they leave on their own or are kicked out.
Also please note that if the external user chooses to leave on his own, there are no issues, he leaves as a member and the community disappears as well.
From the synapse server I get:
May 06 17:52:54 allium python[31727]: 2019-05-06 17:52:54,012 - synapse.http.server - 112 - ERROR - PUT-767- Failed handle request via 'GroupAdminUsersKickServlet': <XForwardedForRequest at 0x7f155ff41c50 method='PUT' uri='/_matrix/client/r0/groups/%2Bacmecorp%3Amatrix.example.com/admin/users/remove/%40acmecorp%3Amatrix.org' clientproto='HTTP/1.1' site=8008>
May 06 17:52:54 allium python[31727]: Traceback (most recent call last):
May 06 17:52:54 allium python[31727]: File "/opt/venvs/matrix-synapse/lib/python3.5/site-packages/synapse/http/server.py", line 81, in wrapped_request_handler
May 06 17:52:54 allium python[31727]: yield h(self, request)
May 06 17:52:54 allium python[31727]: File "/opt/venvs/matrix-synapse/lib/python3.5/site-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
May 06 17:52:54 allium python[31727]: result = result.throwExceptionIntoGenerator(g)
May 06 17:52:54 allium python[31727]: File "/opt/venvs/matrix-synapse/lib/python3.5/site-packages/twisted/python/failure.py", line 512, in throwExceptionIntoGenerator
May 06 17:52:54 allium python[31727]: return g.throw(self.type, self.value, self.tb)
May 06 17:52:54 allium python[31727]: File "/opt/venvs/matrix-synapse/lib/python3.5/site-packages/synapse/http/server.py", line 316, in _async_render
May 06 17:52:54 allium python[31727]: callback_return = yield callback(request, **kwargs)
May 06 17:52:54 allium python[31727]: File "/opt/venvs/matrix-synapse/lib/python3.5/site-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
May 06 17:52:54 allium python[31727]: result = result.throwExceptionIntoGenerator(g)
May 06 17:52:54 allium python[31727]: File "/opt/venvs/matrix-synapse/lib/python3.5/site-packages/twisted/python/failure.py", line 512, in throwExceptionIntoGenerator
May 06 17:52:54 allium python[31727]: return g.throw(self.type, self.value, self.tb)
May 06 17:52:54 allium python[31727]: File "/opt/venvs/matrix-synapse/lib/python3.5/site-packages/synapse/rest/client/v2_alpha/groups.py", line 575, in on_PUT
May 06 17:52:54 allium python[31727]: group_id, user_id, requester_user_id, content,
May 06 17:52:54 allium python[31727]: File "/opt/venvs/matrix-synapse/lib/python3.5/site-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
May 06 17:52:54 allium python[31727]: result = result.throwExceptionIntoGenerator(g)
May 06 17:52:54 allium python[31727]: File "/opt/venvs/matrix-synapse/lib/python3.5/site-packages/twisted/python/failure.py", line 512, in throwExceptionIntoGenerator
May 06 17:52:54 allium python[31727]: return g.throw(self.type, self.value, self.tb)
May 06 17:52:54 allium python[31727]: File "/opt/venvs/matrix-synapse/lib/python3.5/site-packages/synapse/handlers/groups_local.py", line 408, in remove_user_from_group
May 06 17:52:54 allium python[31727]: group_id, user_id, requester_user_id, content,
May 06 17:52:54 allium python[31727]: File "/opt/venvs/matrix-synapse/lib/python3.5/site-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
May 06 17:52:54 allium python[31727]: result = result.throwExceptionIntoGenerator(g)
May 06 17:52:54 allium python[31727]: File "/opt/venvs/matrix-synapse/lib/python3.5/site-packages/twisted/python/failure.py", line 512, in throwExceptionIntoGenerator
May 06 17:52:54 allium python[31727]: return g.throw(self.type, self.value, self.tb)
May 06 17:52:54 allium python[31727]: File "/opt/venvs/matrix-synapse/lib/python3.5/site-packages/synapse/groups/groups_server.py", line 812, in remove_user_from_group
May 06 17:52:54 allium python[31727]: get_domain_from_id(user_id), group_id, user_id, {}
May 06 17:52:54 allium python[31727]: File "/opt/venvs/matrix-synapse/lib/python3.5/site-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
May 06 17:52:54 allium python[31727]: result = result.throwExceptionIntoGenerator(g)
May 06 17:52:54 allium python[31727]: File "/opt/venvs/matrix-synapse/lib/python3.5/site-packages/twisted/python/failure.py", line 512, in throwExceptionIntoGenerator
May 06 17:52:54 allium python[31727]: return g.throw(self.type, self.value, self.tb)
May 06 17:52:54 allium python[31727]: File "/opt/venvs/matrix-synapse/lib/python3.5/site-packages/synapse/http/matrixfederationclient.py", line 639, in post_json
May 06 17:52:54 allium python[31727]: ignore_backoff=ignore_backoff,
May 06 17:52:54 allium python[31727]: File "/opt/venvs/matrix-synapse/lib/python3.5/site-packages/twisted/internet/defer.py", line 1418, in _inlineCallbacks
May 06 17:52:54 allium python[31727]: result = g.send(result)
May 06 17:52:54 allium python[31727]: File "/opt/venvs/matrix-synapse/lib/python3.5/site-packages/synapse/http/matrixfederationclient.py", line 427, in _send_request
May 06 17:52:54 allium python[31727]: raise e
May 06 17:52:54 allium python[31727]: synapse.api.errors.HttpResponseException: 400: b'Bad Request'
Version information
Homeserver: another homeserver
Version: Server: Synapse/0.99.3.2 (first identified on 0.99.3.1)
Install method: Package manager
Platform: Debian Stretch
The text was updated successfully, but these errors were encountered:
Description
When, as the admin of the community, I remove a user which is not a local user, I get the following message in the client:
Please note that the user ends up in a between state, not in the list of members any more but still having visibility over the community (even after reload / sign out / sign in). Actually that user cannot leave the community either once he doesn't appear in the members' list.
Steps to reproduce
That's when I get the error message and end up with a half-way removed user stuck with that community
Expected
Same behaviour for local/ external users, whether they leave on their own or are kicked out.
Also please note that if the external user chooses to leave on his own, there are no issues, he leaves as a member and the community disappears as well.
From the synapse server I get:
Version information
Homeserver: another homeserver
Version: Server: Synapse/0.99.3.2 (first identified on 0.99.3.1)
Install method: Package manager
Platform: Debian Stretch
The text was updated successfully, but these errors were encountered: