synapse icon indicating copy to clipboard operation
synapse copied to clipboard

Tombstoning a V12 room to any room version < 12 can lead to loss of powerlevel

Open ll-SKY-ll opened this issue 4 months ago • 5 comments

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 11 in 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

ll-SKY-ll avatar Aug 12 '25 21:08 ll-SKY-ll

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.

vincejv avatar Aug 14 '25 13:08 vincejv

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

ll-SKY-ll avatar Aug 14 '25 14:08 ll-SKY-ll

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.

anoadragon453 avatar Aug 14 '25 14:08 anoadragon453

For those planning to upgrade nevertheless and have their admin PL restored by another admin, mind maubot/rss#64

opk12 avatar Sep 19 '25 15:09 opk12

I've created a matrix-spec issue to track discussion of this in the spec: https://github.com/matrix-org/matrix-spec/issues/2253

anoadragon453 avatar Nov 26 '25 12:11 anoadragon453