mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-11-11 14:24:58 -05:00
Use allow/deny
This commit is contained in:
parent
47a9ba435d
commit
e5481b22aa
3 changed files with 11 additions and 11 deletions
|
|
@ -26,16 +26,16 @@ class RoomDirectoryConfigTestCase(unittest.TestCase):
|
|||
alias_creation_rules:
|
||||
- user_id: "*bob*"
|
||||
alias: "*"
|
||||
action: "denied"
|
||||
action: "deny"
|
||||
- user_id: "*"
|
||||
alias: "#unofficial_*"
|
||||
action: "allowed"
|
||||
action: "allow"
|
||||
- user_id: "@foo*:example.com"
|
||||
alias: "*"
|
||||
action: "allowed"
|
||||
action: "allow"
|
||||
- user_id: "@gah:example.com"
|
||||
alias: "#goo:example.com"
|
||||
action: "allowed"
|
||||
action: "allow"
|
||||
""")
|
||||
|
||||
rd_config = RoomDirectoryConfig()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue