synapse/tests/storage
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
..
__init__.py Reference Matrix Home Server 2014-08-12 15:10:52 +01:00
test__base.py Combine the two sets of tests for CacheDescriptor 2020-10-21 15:38:29 +01:00
test_appservice.py Fix get|set_type_stream_id_for_appservice store functions (#8648) 2020-10-26 10:51:33 -04:00
test_background_update.py Do not yield on awaitables in tests. (#8193) 2020-08-27 17:24:46 -04:00
test_base.py Reduce serialization errors in MultiWriterIdGen (#8456) 2020-10-07 15:15:57 +01:00
test_cleanup_extrems.py Don't instansiate Requester directly (#8614) 2020-10-22 10:11:06 +01:00
test_client_ips.py Tell Black to format code for Python 3.5 (#8664) 2020-10-27 23:26:36 +00:00
test_database.py bg update to clear out duplicate outbound_device_list_pokes (#7193) 2020-04-07 23:06:39 +01:00
test_devices.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
test_directory.py Convert simple_update* and simple_select* to async (#8173) 2020-08-27 07:08:38 -04:00
test_e2e_room_keys.py add etag and count to key backup endpoints (#5858) 2019-11-27 16:14:44 -05:00
test_end_to_end_keys.py Rename `get_e2e_device_keys` to better reflect its purpose (#8205) 2020-08-29 00:14:17 +01:00
test_event_federation.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
test_event_metrics.py Don't instansiate Requester directly (#8614) 2020-10-22 10:11:06 +01:00
test_event_push_actions.py Re-implement unread counts (again) (#8059) 2020-09-02 17:19:37 +01:00
test_id_generators.py Make event persisters periodically announce position over replication. (#8499) 2020-10-12 15:51:41 +01:00
test_keys.py Type defintions for use in refactoring for redaction changes (#6803) 2020-01-30 11:25:59 +00:00
test_main.py Do not yield on awaitables in tests. (#8193) 2020-08-27 17:24:46 -04:00
test_monthly_active_users.py Filter out appservices from mau count (#8404) 2020-09-29 13:11:02 +01:00
test_profile.py Convert simple_select_one and simple_select_one_onecol to async (#8162) 2020-08-26 07:19:32 -04:00
test_purge.py Make token serializing/deserializing async (#8427) 2020-09-30 20:29:19 +01:00
test_redaction.py Simplify `_locally_reject_invite` 2020-10-13 23:58:48 +01:00
test_registration.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_room.py Convert simple_select_one and simple_select_one_onecol to async (#8162) 2020-08-26 07:19:32 -04:00
test_roommember.py Don't instansiate Requester directly (#8614) 2020-10-22 10:11:06 +01:00
test_state.py Convert some of the data store to async. (#7976) 2020-07-30 07:20:41 -04:00
test_transactions.py Fix errors storing large retry intervals. 2019-10-02 10:36:27 +01:00
test_user_directory.py Do not yield on awaitables in tests. (#8193) 2020-08-27 17:24:46 -04:00