synapse-product/synapse/federation
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
..
sender Fix not sending events over federation when using sharded event persisters (#8536) 2020-10-14 13:27:51 +01:00
transport 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 Remove unused ReplicationLayer 2018-03-13 11:00:04 +00:00
federation_base.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
federation_client.py Mypy fixes for synapse.handlers.federation (#8422) 2020-09-29 15:57:36 +01:00
federation_server.py Add type hints to response cache. (#8507) 2020-10-09 11:35:11 -04:00
persistence.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
send_queue.py Fix not sending events over federation when using sharded event persisters (#8536) 2020-10-14 13:27:51 +01:00
units.py Convert calls of async database methods to async (#8166) 2020-08-27 13:38:41 -04:00