matrix-org / matrix-spec

The Matrix protocol specification
Apache License 2.0
195 stars 97 forks source link

Limits API #770

Open erkinalp opened 3 years ago

erkinalp commented 3 years ago

Is your feature request related to a problem? Please describe. There is currently no way to impose artificial limits (rooms-as-type per user, users per room-as-type, child rooms per parent room) and communicate them in a portable manner. We need a way to impose and communicate those limits. Those kinds of limits are useful in company, government, school and limited traffic cloud use cases. Several MSCs need to be drafted for each of those three kinds of limits.

Describe the solution you'd like

erkinalp commented 3 years ago

Part 1 (per-user fanout&complexity): matrix-org/matrix-spec-proposals#3021 Part 2 (per-room fanout&complexity): matrix-org/matrix-spec-proposals#3053 Part 3 (rate): matrix-org/matrix-spec-proposals#3059 Part 4 (permanent limits aka per-room feature gating): TBD Part 5 (per-instance): matrix-org/matrix-spec-proposals#3125 Part 6 (limit inheritance across child rooms): TBD Wording: TBD

melroy89 commented 1 year ago

Related: https://github.com/matrix-org/dendrite/issues/1763