| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
MSC4140 describes the delayed event management endpoints
(POST /delayed_events/{delay_id}/{cancel,restart,send}) as authenticated,
and scopes them to the requesting user. Make every management call on
a real delay ID, and the negative tests on an unknown delay ID, go
through the user who scheduled the event instead of the unauthenticated
client.
The only unauthenticated call left is the one asserting that the bulk
GET answers 401 without a token.
Signed-off-by: Paul Chobert <paul@chobert.fr>
| Back | FazBrowse Home | New Git URL |
Note
This PR can be merged before element-hq/synapse#20257
This is a sister PR to element-hq/synapse#20257
Delayed Event (MSC4140) management endpoint should be authenticated.
This PR modifies the existing test to send authenticated requests.
Signed-off-by: Paul Chobert paul@chobert.fr