mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 05:53:43 +00:00
api: Improve handling of delivery_email in the GET /users/{email} API.
Limiting lookups by delivery_email to users with "everyone" email visibility is overly simplistic. We can successfully do these lookups whenever the requester has the permission to view the real email address of the user they're looking up.
This commit is contained in:
committed by
Tim Abbott
parent
8e51442043
commit
6c069f4365
@@ -34,7 +34,7 @@ DESKTOP_WARNING_VERSION = "5.9.3"
|
||||
# new level means in api_docs/changelog.md, as well as "**Changes**"
|
||||
# entries in the endpoint's documentation in `zulip.yaml`.
|
||||
|
||||
API_FEATURE_LEVEL = 301 # Last bumped for can_join_group setting.
|
||||
API_FEATURE_LEVEL = 302 # Last bumped for changes to {email} requirements for GET /users/{email}
|
||||
|
||||
# Bump the minor PROVISION_VERSION to indicate that folks should provision
|
||||
# only when going from an old version of the code to a newer version. Bump
|
||||
|
||||
Reference in New Issue
Block a user