mirror of
https://github.com/zulip/zulip.git
synced 2025-10-24 00:23:49 +00:00
user_groups: Do not allow updating memberships of deactivated users.
This commit updates backend code to not allow adding deactivated users to groups including when creating groups and also to not allow removing deactivated users from groups.
This commit is contained in:
@@ -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 = 302 # Last bumped for changes to {email} requirements for GET /users/{email}
|
||||
API_FEATURE_LEVEL = 303 # Last bumped for handling deactivated users in groups.
|
||||
|
||||
# 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