Tombstoning a V12 room to any room version < 12 can lead to loss of powerlevel
Description
If the creator of a V12 room tombstones the room to any other room version below 12, the upgrade api sets the PL of the creator to 0 after creating the room
Steps to reproduce
- make a V12 room
/upgraderoom 11in element- open new room
- have no power anymore
Homeserver
matrix.org
Synapse Version
Synapse 1.136.0 (b=matrix-org-hotfixes-priv,a4db588e87)
Installation Method
Docker (matrixdotorg/synapse)
Database
Postgresql
Workers
Multiple workers
Platform
you know better than me :)
Configuration
No response
Relevant log output
^
Anything else that would be useful to know?
No response
I encountered the same issue, as per https://github.com/element-hq/synapse/pull/18805 it's a client issue, upgrade to a client that supports v12 specs and issue would be fixed.
quoting:
Older clients that have not been updated to support MSC4289 will interpret the user missing from the users field as the user having users_default power level, which is typically 0.
I encountered the same issue, as per #18805 it's a client issue, upgrade to a client that supports v12 specs and issue would be fixed.
quoting:
Older clients that have not been updated to support MSC4289 will interpret the user missing from the users field as the user having users_default power level, which is typically 0.
No, you misunderstand me, I tombstone a V12 room into a room LOWER than V12 and end up with powerlevel 0
Indeed, this is a valid bug when downgrading v12 rooms to a room version that's <12.
I'm currently working on a fix - thanks for raising @ll-SKY-ll.
For those planning to upgrade nevertheless and have their admin PL restored by another admin, mind maubot/rss#64
I've created a matrix-spec issue to track discussion of this in the spec: https://github.com/matrix-org/matrix-spec/issues/2253