synapse/tests/replication
Erik Johnston f21e24ffc2
Add ability for access tokens to belong to one user but grant access to another user. (#8616)
We do it this way round so that only the "owner" can delete the access token (i.e. `/logout/all` by the "owner" also deletes that token, but `/logout/all` by the "target user" doesn't).

A future PR will add an API for creating such a token.

When the target user and authenticated entity are different the `Processed request` log line will be logged with a: `{@admin:server as @bob:server} ...`. I'm not convinced by that format (especially since it adds spaces in there, making it harder to use `cut -d ' '` to chop off the start of log lines). Suggestions welcome.
2020-10-29 15:58:44 +00:00
..
slave Add EventStreamPosition type (#8388) 2020-09-24 13:24:17 +01:00
tcp Tell Black to format code for Python 3.5 (#8664) 2020-10-27 23:26:36 +00:00
__init__.py Add a /replication API for extracting the updates that happened on 2016-03-01 14:49:41 +00:00
_base.py Don't require hiredis to run unit tests (#8680) 2020-10-29 11:17:35 +00:00
test_client_reader_shard.py Fix client reader sharding tests (#7853) 2020-07-15 15:27:35 +01:00
test_federation_ack.py Solidify the HomeServer constructor. (#8515) 2020-10-15 15:29:13 -04:00
test_federation_sender_shard.py Simplify _locally_reject_invite 2020-10-13 23:58:48 +01:00
test_pusher_shard.py Add ability for access tokens to belong to one user but grant access to another user. (#8616) 2020-10-29 15:58:44 +00:00
test_sharded_event_persister.py Add basic tests for sync/pagination with vector clock tokens. (#8488) 2020-10-14 13:53:20 +01:00