Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MSC2175: Remove the creator field from m.room.create events #2175

Merged
merged 3 commits into from
Jul 31, 2019

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Jul 14, 2019

Rendered

Fixes #1193

Implementation: matrix-org/synapse#15394

@richvdh richvdh changed the title Proposal to remove the creator field MSC2175: Remove the creator field from m.room.create events Jul 14, 2019
@richvdh richvdh added proposal A matrix spec change proposal proposal-in-review labels Jul 14, 2019
@turt2live turt2live self-requested a review July 14, 2019 22:03
@KitsuneRal
Copy link
Member

No objections from the client perspective.

Copy link
Member

@turt2live turt2live left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

finally, thank you!

@richvdh
Copy link
Member Author

richvdh commented Jul 22, 2019

I'm going to assume that the only reason not to do this is tuits, so

@mscbot fcp merge

@mscbot
Copy link
Collaborator

mscbot commented Jul 22, 2019

Team member @richvdh has proposed to merge this. The next step is review by the rest of the tagged people:

No concerns currently listed.

Once a majority of reviewers approve (and none object), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up!

See this document for info about what commands tagged team members can give me.

@mscbot mscbot added proposed-final-comment-period Currently awaiting signoff of a majority of team members in order to enter the final comment period. disposition-merge labels Jul 22, 2019
@turt2live turt2live added the unassigned-room-version Remove this label when things get versioned. label Jul 22, 2019
@anoadragon453
Copy link
Member

Looks like a good cleanup, thanks.

@mscbot reviewed

@mscbot mscbot added final-comment-period This MSC has entered a final comment period in interest to approval, postpone, or delete in 5 days. and removed proposed-final-comment-period Currently awaiting signoff of a majority of team members in order to enter the final comment period. labels Jul 25, 2019
@mscbot
Copy link
Collaborator

mscbot commented Jul 25, 2019

🔔 This is now entering its final comment period, as per the review above. 🔔

@ara4n
Copy link
Member

ara4n commented Jul 25, 2019

fwiw, the reason for the creator field was i think to support moving creator ownership around in subsequent events somehow. but given this has never been figured out, i’m happy to remove the redundancy and readd correctly jn future if needed

@mscbot mscbot added finished-final-comment-period and removed final-comment-period This MSC has entered a final comment period in interest to approval, postpone, or delete in 5 days. labels Jul 31, 2019
@mscbot
Copy link
Collaborator

mscbot commented Jul 31, 2019

The final comment period, with a disposition to merge, as per the review above, is now complete.

@anoadragon453 anoadragon453 merged commit 0c7c48b into master Jul 31, 2019
@turt2live turt2live self-assigned this Jul 31, 2019
@turt2live turt2live removed their assignment Aug 26, 2019
@turt2live turt2live added the kind:maintenance MSC which clarifies/updates existing spec label Apr 20, 2020
@turt2live turt2live removed blocked Something needs to be done before action can be taken on this PR/issue. unassigned-room-version Remove this label when things get versioned. labels Jun 26, 2023
@turt2live
Copy link
Member

This is now formally assigned to room version 11: #3820

@turt2live
Copy link
Member

Spec PR: matrix-org/matrix-spec#1604

@turt2live turt2live added spec-pr-in-review A proposal which has been PR'd against the spec and is in review and removed spec-pr-missing Proposal has been implemented and is being used in the wild but hasn't yet been added to the spec labels Aug 1, 2023
pixlwave added a commit to element-hq/element-ios that referenced this pull request Aug 4, 2023
pixlwave added a commit to element-hq/element-ios that referenced this pull request Aug 4, 2023
pixlwave added a commit to element-hq/element-ios that referenced this pull request Aug 4, 2023
@richvdh
Copy link
Member Author

richvdh commented Aug 8, 2023

A thought, belatedly, occurs about this.

The obvious fix, for clients, is to fall back to sender where creator is not present (as indeed has been done in https://github.com/vector-im/element-ios/pull/7635/files, cc @pixlwave)

However, as of v11, creator is totally unprivileged; it is under the control of the client (via creation_content in the /createRoom call). So a user could create a v11 room, and claim that someone else made it by setting creator to a different user.

The question is whether that matters in practice.

@turt2live
Copy link
Member

Merged 🎉

@turt2live turt2live added merged A proposal whose PR has merged into the spec! and removed spec-pr-in-review A proposal which has been PR'd against the spec and is in review labels Aug 15, 2023
@anoadragon453
Copy link
Member

However, as of v11, creator is totally unprivileged; it is under the control of the client (via creation_content in the /createRoom call). So a user could create a v11 room, and claim that someone else made it by setting creator to a different user.

The question is whether that matters in practice.

No special privileges are currently given to the creator of a room (other than allowing them to initially join the room), so I'm not sure what implications this would actually have. The only thing that comes to mind is moderation tooling; some tooling could attempt to clean up all rooms created by a certain user. And perhaps that tool was written before v11 rooms existed, and would be searching for m.room.create->content->creator across all rooms.

Still, I'm not familiar with any moderation tooling that erases rooms based on creator, rather than message content. Perhaps this is just a reminder that client-side tools that act on rooms should scope themselves to a set of known room versions - and warn if they find any that it does not know the rules for.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
disposition-merge kind:maintenance MSC which clarifies/updates existing spec merged A proposal whose PR has merged into the spec! proposal A matrix spec change proposal requires-room-version An idea which will require a bump in room version
Projects
Status: Done to some definition
Status: Done for now
Development

Successfully merging this pull request may close these issues.

'creator' field of m.room.create events is redundant
6 participants