mirror of
https://gitea.blesmrt.net/mikaela/gist.git
synced 2024-11-25 20:59:22 +01:00
parent
b9661281da
commit
ec5291c0c8
@ -21,36 +21,72 @@ The main point I do this for is users `users`
|
|||||||
},
|
},
|
||||||
```
|
```
|
||||||
|
|
||||||
but here is `events` just in case. Please don't copy-paste directly, that may
|
## Completeish event
|
||||||
break things:
|
|
||||||
|
This has the rest event in two forms, but doesn't duplicate the above.
|
||||||
|
|
||||||
|
### Reasonable version
|
||||||
|
|
||||||
|
This is not the Element/Synapse default as that would be pointless to list.
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"type": "m.room.power_levels",
|
"ban": 50,
|
||||||
"content": {
|
"events": {
|
||||||
"invite": 100,
|
"im.vector.modular.widgets": 50,
|
||||||
"events": {
|
"m.room.avatar": 50,
|
||||||
"m.room.avatar": 100,
|
"m.room.canonical_alias": 50,
|
||||||
"im.vector.modular.widgets": 100,
|
"m.room.encryption": 100,
|
||||||
"m.room.history_visibility": 100,
|
"m.room.history_visibility": 99,
|
||||||
"m.room.name": 100,
|
"m.room.name": 50,
|
||||||
"m.room.encryption": 100,
|
"m.room.power_levels": 99,
|
||||||
"m.room.tombstone": 100,
|
"m.room.retention": 100,
|
||||||
"m.room.canonical_alias": 100,
|
"m.room.server_acl": 100,
|
||||||
"m.room.power_levels": 49,
|
"m.room.tombstone": 100,
|
||||||
"m.room.topic": 100,
|
"m.room.topic": 50,
|
||||||
"m.room.retention": 100
|
"m.space.child": 50
|
||||||
},
|
},
|
||||||
"redact": 50,
|
"events_default": 0,
|
||||||
"ban": 50,
|
"historical": 100,
|
||||||
"kick": 50,
|
"invite": 0,
|
||||||
"users_default": 0,
|
"kick": 50,
|
||||||
"events_default": 0,
|
"redact": 50,
|
||||||
"state_default": 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
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
* If `m.room.power_levels` event is 49, moderators (PL50) are able to raise
|
### Paranoid version
|
||||||
other users to moderators while sharing equal power they won't be able to
|
|
||||||
demote.
|
```json
|
||||||
|
{
|
||||||
|
"ban": 50,
|
||||||
|
"events": {
|
||||||
|
"im.vector.modular.widgets": 100,
|
||||||
|
"m.room.avatar": 100,
|
||||||
|
"m.room.canonical_alias": 100,
|
||||||
|
"m.room.encryption": 100,
|
||||||
|
"m.room.history_visibility": 100,
|
||||||
|
"m.room.name": 100,
|
||||||
|
"m.room.power_levels": 100,
|
||||||
|
"m.room.retention": 100,
|
||||||
|
"m.room.server_acl": 100,
|
||||||
|
"m.room.tombstone": 100,
|
||||||
|
"m.room.topic": 100,
|
||||||
|
"m.space.child": 100
|
||||||
|
},
|
||||||
|
"events_default": 0,
|
||||||
|
"historical": 100,
|
||||||
|
"invite": 100,
|
||||||
|
"kick": 50,
|
||||||
|
"redact": 50,
|
||||||
|
"state_default": 100,
|
||||||
|
"users": {
|
||||||
|
READ THE BEGINNING OF THE FILE FOR THIS SECTION AND PROPER FORMAT! OR SEE YOUR CURRENT EVENT!
|
||||||
|
},
|
||||||
|
"users_default": 0
|
||||||
|
}
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user