element-hq / element-hq/synapse
Per-user room and session limits
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 600
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 51
Description
This issue has been migrated from [#9707](https://github.com/matrix-org/synapse/issues/9707).
---
**Description:**
We need an ability to limit the number of rooms and/or open sessions per user.
Spec proposal: https://github.com/matrix-org/matrix-doc/pull/3021
@Sorunome said that x-per-user does not need an MSC:
> how / why?
> soru can see x-per-users be helpful in commercial aspects, but not users-per-x
> conveniently, x-per-users is an implmentation detail
> x-per-user is an implementation detail and shouldn't need an msc
As this only affects the users of a given homeserver, it can safely be implemented ahead of standardisation.
Contributor guide
Research direction
Start with the linked Matrix spec proposal and review Synapse's existing room and session handling to identify the relevant entry points. The work is complete when a homeserver can configure and enforce separate per-user limits for rooms and open sessions, with coverage for the resulting behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100