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

deactivating a user leaves it in communities. #3388

Closed
airblag opened this issue Jun 12, 2018 · 2 comments
Closed

deactivating a user leaves it in communities. #3388

airblag opened this issue Jun 12, 2018 · 2 comments
Labels
S-Minor Blocks non-critical functionality, workarounds exist. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues. z-p2 (Deprecated Label)

Comments

@airblag
Copy link

airblag commented Jun 12, 2018

Description

I'm having a setup with mxisd, and synapse, using the rest-api to authenticate my users against my LDAP server.
When a user is removed from LDAP, I also wanna deactivate his/her access to Matrix too.
The user is leaving all rooms but staying in communities it was part of. I guess it would be more consequent to leave communities at the same time.

Steps to reproduce

  • Create a user
  • invite it to a community
  • log with this user and join the community and a room
  • with an admin token, deactivate his account :
curl -s -XPOST "https://mymatrixserver.net/_matrix/client/r0/admin/deactivate/%40testuser%3Amymatrixserver.net?access_token=$token" -d '{}'
  • @testuser:mymatrixserver.net is then leaving all rooms it was in, and all tokens are revoked, but
    the user is staying in all communities it joined/was invited to.

I would expect that the user is also leaving communities when the account is deactivated.

Version information

  • Homeserver: company internal synapse server

If not matrix.org:

  • Version: 0.31.1-1 (from https://matrix.org/packages/debian stretch InRelease)
  • Install method: package manager
  • Platform: debian stretch lxd container (host is ubuntu 17.04), but I don't think it has any influence :)
@airblag airblag changed the title deactivating a user leave it in communities. deactivating a user leaves it in communities. Jun 12, 2018
@neilisfragile neilisfragile added z-p2 (Deprecated Label) enhancement labels Jun 22, 2018
@dklimpel
Copy link
Contributor

Related to #11539

@H-Shay H-Shay added S-Minor Blocks non-critical functionality, workarounds exist. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues. labels Jan 14, 2022
@clokep
Copy link
Member

clokep commented Apr 26, 2022

Communities/groups are being removed, see #11584.

@clokep clokep closed this as completed Apr 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
S-Minor Blocks non-critical functionality, workarounds exist. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues. z-p2 (Deprecated Label)
Projects
None yet
Development

No branches or pull requests

6 participants