MatrixSynapse/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
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
test_base.py
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
test_devices.py
test_directory.py
test_e2e_room_keys.py
test_end_to_end_keys.py
test_event_federation.py
test_event_metrics.py Don't instansiate Requester directly (#8614) 2020-10-22 10:11:06 +01:00
test_event_push_actions.py
test_id_generators.py
test_keys.py
test_main.py
test_monthly_active_users.py
test_profile.py
test_purge.py
test_redaction.py
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
test_roommember.py Don't instansiate Requester directly (#8614) 2020-10-22 10:11:06 +01:00
test_state.py
test_transactions.py
test_user_directory.py