m.room.power_levels: add a 'medium version' for mod-invite

This commit is contained in:
Aminda Suomalainen 2022-04-22 17:58:24 +03:00
parent 593b1a4bbf
commit a5db449cbb
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -63,6 +63,41 @@ This is not the Element/Synapse default as that would be pointless to list.
On matrix side immune mods, could be PL52. On matrix side immune mods, could be PL52.
* invite commonly defaults to `50`, but I haven't seen abuse through it * invite commonly defaults to `50`, but I haven't seen abuse through it
### Medium version
```json5
{
"ban": 50,
"events": {
"im.vector.modular.widgets": 50,
"m.room.avatar": 50,
"m.room.canonical_alias": 50,
"m.room.encryption": 100,
"m.room.history_visibility": 99,
"m.room.name": 50,
"m.room.power_levels": 50,
"m.room.retention": 100,
"m.room.server_acl": 100,
"m.room.tombstone": 100,
"m.room.topic": 50,
"m.space.child": 50
},
"events_default": 0,
"historical": 100,
"invite": 50,
"kick": 50,
"redact": 50,
"state_default": 50,
"users": {
// READ THE BEGINNING OF THE FILE FOR THIS SECTION AND PROPER FORMAT! OR SEE YOUR CURRENT EVENT!
},
"users_default": 0
}
```
* Otherwise "Reasonable version", but
* Only moderators can invite
### Paranoid version ### Paranoid version
```json5 ```json5