synapse/tests/rest/client
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
..
v1 Remove the deprecated Handlers object (#8494) 2020-10-09 07:24:34 -04:00
v2_alpha 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
__init__.py copyrights 2016-01-07 04:26:29 +00:00
test_consent.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
test_ephemeral_message.py Add ephemeral messages support (MSC2228) (#6409) 2019-12-03 19:19:45 +00:00
test_identity.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
test_power_levels.py Default PL100 to enable encryption in a room (#7230) 2020-04-09 18:45:38 +01:00
test_redactions.py Fix comments 2019-09-11 13:54:50 +01:00
test_retention.py Remove unused parameter from, and add safeguard in, get_room_data (#8174) 2020-08-26 15:07:35 +01:00
test_shadow_banned.py Remove the deprecated Handlers object (#8494) 2020-10-09 07:24:34 -04:00
test_third_party_rules.py guard against accidental modification 2020-10-13 23:24:50 +01:00
test_transactions.py Clean up some LoggingContext stuff (#7120) 2020-03-24 14:45:33 +00:00