summary refs log tree commit diff
path: root/synapse/handlers/event_auth.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move methods involving event authentication to EventAuthHandler. (#10268)Patrick Cloke2021-07-011-2/+60
| | | Instead of mixing them with user authentication methods.
* Update MSC3083 support per changes in the MSC. (#10189)Patrick Cloke2021-06-171-18/+27
| | | Adds a "type" field and generalize "space" to "room_id".
* Allow a user who could join a restricted room to see it in spaces summary. ↵Patrick Cloke2021-05-201-21/+83
| | | | | | (#9922) This finishes up the experimental implementation of MSC3083 by showing the restricted rooms in the spaces summary (from MSC2946).
* Refactor checking restricted join rules (#10007)Patrick Cloke2021-05-181-16/+35
| | | | | To be more consistent with similar code. The check now automatically raises an AuthError instead of passing back a boolean. It also absorbs some shared logic between callers.
* Check for space membership during a remote join of a restricted room (#9814)Patrick Cloke2021-04-231-0/+86
| | | | | | When receiving a /send_join request for a room with join rules set to 'restricted', check if the user is a member of the spaces defined in the 'allow' key of the join rules. This only applies to an experimental room version, as defined in MSC3083.
* Revert "Check for space membership during a remote join of a restricted ↵Patrick Cloke2021-04-141-82/+0
| | | | | | | | room. (#9763)" This reverts commit cc51aaaa7adb0ec2235e027b5184ebda9b660ec4. The PR was prematurely merged and not yet approved.
* Check for space membership during a remote join of a restricted room. (#9763)Patrick Cloke2021-04-141-0/+82
When receiving a /send_join request for a room with join rules set to 'restricted', check if the user is a member of the spaces defined in the 'allow' key of the join rules. This only applies to an experimental room version, as defined in MSC3083.