forked-synapse/tests/rest/client/v2_alpha
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 Refactor REST API tests to use explicit reactors (#3351) 2018-07-17 20:43:18 +10:00
test_account.py Remove some extraneous @unittest.INFOs on unit tests (#8592) 2020-10-20 11:49:15 +01:00
test_auth.py Remove some extraneous @unittest.INFOs on unit tests (#8592) 2020-10-20 11:49:15 +01:00
test_capabilities.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
test_filter.py Do not yield on awaitables in tests. (#8193) 2020-08-27 17:24:46 -04:00
test_password_policy.py Allow server admins to define and enforce a password policy (MSC2000). (#7118) 2020-03-26 16:51:13 +00:00
test_register.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_relations.py Fix some spelling mistakes / typos. (#7811) 2020-07-09 09:52:58 -04:00
test_shared_rooms.py Add /user/{user_id}/shared_rooms/ api (#7785) 2020-09-02 13:18:40 +01:00
test_sync.py Re-implement unread counts (again) (#8059) 2020-09-02 17:19:37 +01:00