Commit Graph

16 Commits (4dc2eda1d34b142035e5cb2a93e27272dce84c03)

Author SHA1 Message Date
Brendan Abolivier 34dd738e4b
There's no third_party_signed property in an invite's content 2019-07-17 15:03:23 +02:00
Brendan Abolivier 048f86ef5d
Fix check of the association between a 3PID invite and the subsequent m.room.member event in the 3rd party rules 2019-07-17 14:54:58 +02:00
Brendan Abolivier 95b5d4ad54 Merge branch 'babolivier/power-levels' of github.com:matrix-org/synapse into babolivier/power-levels 2019-07-03 18:30:13 +01:00
Brendan Abolivier 4dd7de17b7
Incorporate review 2019-07-03 18:26:48 +01:00
Brendan Abolivier 8b44097771
Update synapse/third_party_rules/access_rules.py
Co-Authored-By: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2019-07-03 18:21:42 +01:00
Brendan Abolivier 6b83a1826c
Incorporate review 2019-07-03 17:32:52 +01:00
Brendan Abolivier d085e0df2a
Change the rule for applying PL restrictions 2019-07-03 15:44:22 +01:00
Brendan Abolivier aa3ba41933
Default return value for events we're not interested in 2019-07-03 12:05:56 +01:00
Brendan Abolivier 724ddaddb3
Refactor part of the access rules module
Since we're not processing only membership events and 3PID invites anymore, it's nice to know which function is supposed to process what.
2019-07-03 12:03:22 +01:00
Brendan Abolivier 8636ec042b
Implement restrictions for power levels 2019-07-03 11:45:07 +01:00
Brendan Abolivier 7157276124
Don't process 3PIDs in _apply_restricted 2019-06-18 17:43:34 +01:00
Brendan Abolivier cefc5542fb
Lint 2019-06-18 14:59:05 +01:00
Brendan Abolivier d36a876d2d
Incorporate review 2019-06-18 14:53:33 +01:00
Brendan Abolivier f7339d42ee
Fixes 2019-06-18 11:28:33 +01:00
Brendan Abolivier 8aea2c3be1 Docstrings 2019-06-17 20:24:36 +01:00
Brendan Abolivier 1cd0ecc1f2 Rename into RoomAccessRules 2019-06-17 20:24:30 +01:00