-
Notifications
You must be signed in to change notification settings - Fork 385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MSC3550: Allow HTTP 403 as a response to profile lookups #3550
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks fine - just a few nitpicky pieces.
If possible, it'd be good to get the original Synapse PR linked in the PR description here to count for implementation purposes. Failing that, a permalink to the relevant code.
Thanks for the review, @turt2live! This is my first one of these so let me know if there's anything else I am missing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
otherwise lgtm - just needed the added clarity that the error code is part of the spec change. Thanks!
This seems relatively straightforward. @mscbot fcp merge |
Team member @turt2live has proposed to merge this. The next step is review by the rest of the tagged people: Once at least 75% of reviewers approve (and there are no outstanding concerns), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for information about what commands tagged team members can give me. |
Co-authored-by: Travis Ralston <travisr@matrix.org>
🔔 This is now entering its final comment period, as per the review above. 🔔 |
The final comment period, with a disposition to merge, as per the review above, is now complete. |
Merged 🎉 |
Spec PR was #3530 |
This is a MSC proposal generated in response to the feedback on #3530.
Essentially, servers (such as Synapse) may not allow profile lookup over federation. For example, Synapse will return an HTTP 403 in response to
GET /_matrix/client/v3/profile/{userId}
ifallow_profile_lookup_over_federation
is set toFalse
. This behavior is not currently documented in the spec. This proposal aims to add HTTP 403 to the list of responses toGET /_matrix/client/v3/profile/{userId}
.Signed off by: H.Shay hillerys@element.io
Rendered: https://github.com/matrix-org/matrix-doc/blob/3ce9c1d288aa3173caf2716b18e2a8da0bc681d7/proposals/3550-allow-403-response-profile-lookup.md
PR where this behavior was implemented: matrix-org/synapse#9203
Preview: https://pr3550--matrix-org-previews.netlify.app