0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-15 08:03:45 +01:00
dendrite/currentstateserver/acls
Neil Alexander bcdf9577a3
Support for server ACLs (#1261)
* First pass at server ACLs (not efficient)

* Use transaction origin, update whitelist

* Fix federation API test

It's sufficient for us to return nothing in response to current state, so that the server ACL check returns no ACLs.

* More efficient server ACLs - hopefully

* Fix queries

* Fix queries

* Avoid panics by nil pointers

* Bug fixes

* Fix state event type

* Fix mutex

* Update logging

* Ignore port when matching servername

* Use read mutex

* Fix bugs

* Fix sync API test

* Comments

* Add tests, tweaks to behaviour

* Fix test output
2020-08-11 18:19:11 +01:00
..
acls.go Support for server ACLs (#1261) 2020-08-11 18:19:11 +01:00
acls_test.go Support for server ACLs (#1261) 2020-08-11 18:19:11 +01:00