0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-16 20:13:53 +01:00
synapse/tests/handlers
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_admin.py Remove the deprecated Handlers object (#8494) 2020-10-09 07:24:34 -04:00
test_appservice.py Start fewer opentracing spans (#8640) 2020-10-26 09:30:19 +00:00
test_auth.py Remove the deprecated Handlers object (#8494) 2020-10-09 07:24:34 -04:00
test_device.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_directory.py Remove the deprecated Handlers object (#8494) 2020-10-09 07:24:34 -04:00
test_e2e_keys.py Remove the deprecated Handlers object (#8494) 2020-10-09 07:24:34 -04:00
test_e2e_room_keys.py Remove the deprecated Handlers object (#8494) 2020-10-09 07:24:34 -04:00
test_federation.py Remove the deprecated Handlers object (#8494) 2020-10-09 07:24:34 -04:00
test_message.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_oidc.py Fix handling of User-Agent headers with bad utf-8. (#8632) 2020-10-23 17:12:59 +01:00
test_presence.py Simplify _locally_reject_invite 2020-10-13 23:58:48 +01:00
test_profile.py Remove the deprecated Handlers object (#8494) 2020-10-09 07:24:34 -04:00
test_register.py Remove the deprecated Handlers object (#8494) 2020-10-09 07:24:34 -04:00
test_stats.py Rename 'populate_stats_process_rooms_2' background job back to 'populate_stats_process_rooms' again (#8243) 2020-09-08 11:05:59 +01:00
test_sync.py Stop Auth methods from polling the config on every req. (#7420) 2020-05-06 15:54:58 +01:00
test_typing.py Move additional tasks to the background worker, part 4 (#8513) 2020-10-13 08:20:32 -04:00
test_user_directory.py Allow denying or shadow banning registrations via the spam checker (#8034) 2020-08-20 15:42:58 -04:00