Add utility to sync all membership from Gitter to historical and live rooms
As a follow-up after the Gitter -> Matrix import, as mentioned in !2313 (merged); add utility script to sync all membership from Gitter to historical and live rooms
Part of #2609 (closed)
Definition of done
Sync membership/admins over the bridge so we have a cutover point to work from:
-
Sync TroupeUser
join/leave changes over the bridge- join: !2220 (merged)
- leave: !2200 (merged)
-
Sync sd.extraAdmins
changes over the bridge -> #2860 (closed) -
Make sure these changes make it to production (probably a hotfix to skip what we have on staging atm)
Backfill existing membership:
-
Add utility script to sync all membership in live bridged Matrix rooms -
Add utility script to sync all membership in historical Matrix rooms - By the nature of importing the history, everyone who chatted in the room will be joined to the room. But this will miss people who have never spoke and we should also remove people that aren't currently in the room to avoid leaking the history to people that should no longer have access.
- !2331 (merged)
-
Gitter room admins should also have admin power-levels in the Matrix rooms - Run
scripts/utils/ensure-existing-bridged-matrix-rooms-up-to-date.js
- Run
Edited by Eric Eastwood