forked-synapse/synapse
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
..
_scripts Remove obsolete __future__ imports (#8337) 2020-09-17 08:37:01 -04:00
api 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
app Fix not sending events over federation when using sharded event persisters (#8536) 2020-10-14 13:27:51 +01:00
appservice 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
config Support generating structured logs in addition to standard logs. (#8607) 2020-10-29 07:27:37 -04:00
crypto Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
events Use %r rather than %s for stringifying events (#8679) 2020-10-29 12:16:49 +00:00
federation 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
groups Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
handlers 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
http 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
logging Support generating structured logs in addition to standard logs. (#8607) 2020-10-29 07:27:37 -04:00
metrics Start fewer opentracing spans (#8640) 2020-10-26 09:30:19 +00:00
module_api Allow modules to create and send events into rooms (#8479) 2020-10-09 13:46:36 +01:00
push Start fewer opentracing spans (#8640) 2020-10-26 09:30:19 +00:00
replication 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
res/templates Include a simple message in email notifications that include encrypted content (#8545) 2020-10-19 09:12:39 -04:00
rest Add an admin APIs to allow server admins to list users' pushers (#8610) 2020-10-28 15:02:42 +00:00
server_notices Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
spam_checker_api Combine SpamCheckerApi with the more generic ModuleApi. (#8464) 2020-10-07 12:03:26 +01:00
state Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
static Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
storage 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
streams Make token serializing/deserializing async (#8427) 2020-09-30 20:29:19 +01:00
util Merge pull request #8678 from matrix-org/rav/fix_frozen_events 2020-10-28 20:41:42 +00:00
__init__.py 1.22.0 2020-10-27 12:07:19 +00:00
event_auth.py Ensure that event.redacts is the proper type before handling it (#8457) 2020-10-05 10:24:17 -04:00
notifier.py Don't pull event from DB when handling replication traffic. (#8669) 2020-10-28 12:11:45 +00:00
python_dependencies.py Drop support for ancient prometheus_client (#8426) 2020-09-30 16:42:05 +01:00
secrets.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
server.py Solidify the HomeServer constructor. (#8515) 2020-10-15 15:29:13 -04:00
types.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
visibility.py Do not assume that account data is of the correct form. (#8454) 2020-10-05 09:28:05 -04:00