matrix-org / matrix-org/matrix-spec

Limits API

Open
#770 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

epic feature
Dominant language
HTML
Stars
330
Forks
150
Avg merge
2h 21m
Merged PRs (30d)
3

Description

**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**
* Per-room limits (which might be different for each room type), where room members with tombstone permissions can change.
* Rooms-per-user (which might be different for each room type) limits, where server admins can change.
* Child rooms per room limits, where the members of parent room having both tombstone and attach/detach room permissions can change.
* A reliable limit query API, where any user can query the limits applicable in a given situation.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the three proposed limit categories in this issue and the requirement for a portable query API. Draft the necessary MSCs so the limits, who may change them, and how any user queries the applicable limits are clearly specified.

Written by the indexing model from the issue text.

Assessment

Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.