Auth rules don't explicitly prevent m.room.create
events from having auth_events
.
#1061
Labels
clarification
An area where the expected behaviour is understood, but the spec could do with being more explicit
Originally from #1048.
Link to problem area: https://spec.matrix.org/v1.2/rooms/v9/#authorization-rules
Issue
The auth rules begin:
This doesn't restrict the
auth_events
onm.room.create
events. The auth events selection intends for there to be noauth_events
:But that rule isn't explicitly enforced in the suite of checks on incoming PDUs.
On the face of it, fixing this by requiring servers to reject
m.room.create
events with auth events would require a room version bump, because it changes the authorisation rules. But them.room.create
event is special in that it marks the start of the event DAG. Perhaps that gives us some extra wiggle room.The text was updated successfully, but these errors were encountered: