FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

MSC4140: manage delayed events through an authenticated client by barodeur · Pull Request #924 · matrix-org/complement · GitHub

Repository navigation

MSC4140: manage delayed events through an authenticated client - #924

Draft
barodeur wants to merge 1 commit into
matrix-org:mainfrom
barodeur:msc4140-authenticated-management
Draft

barodeur wants to merge 1 commit into
matrix-org:mainfrom
barodeur:msc4140-authenticated-management

Conversation

barodeur commented Sep 23, 2026 •
edited
Loading

Copy link
Copy Markdown
Contributor

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

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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL