mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-02-05 00:25:18 -05: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.