mirror of
https://gitea.blesmrt.net/mikaela/gist.git
synced 2024-11-02 00:31:33 +01:00
1.4 KiB
1.4 KiB
m.policy.rule.server
This event is the language of Draupnir/Mjolnir and experimental Mjolnir style ignore in Element Web labs when speaking of homeservers.
TL;DR
- Event type:
m.policy.rule.server
- State key:
example.net
(server name goes here)
Allowing all servers
- Event type:
m.policy.rule.server
- State key:
*
{
"entity": "*",
"reason": "Default ACL allow all",
"recommendation": "org.matrix.mjolnir.allow"
}
Allowing server mjolnir.matrix.org
- Event type:
m.policy.rule.server
- State key:
mjolnir.matrix.org
{
"entity": "mjolnir.matrix.org",
"reason": "Mjolnir for all!",
"recommendation": "org.matrix.mjolnir.allow"
}
Banning evil example.org
Well, the example organization domain is now evil 😼
- Event type:
m.policy.rule.server
- State key:
example.org
{
"entity": "*",
"reason": "Evil example homeserver",
"recommendation": "m.ban"
}