mirror of
https://github.com/element-hq/synapse.git
synced 2026-05-24 17:25:22 +00:00
74c46d81fa
There are a number of instances where a server or admin may puppet a user to join/leave rooms, which we don't want to fail if the user has not consented to the privacy policy. We fix this by adding a check to test if the requester has an associated access_token, which is used as a proxy to answer the question of whether the action is being done on behalf of a real request from the user.