mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
user_groups: Track acting user for bulk_add_members_to_user_group.
This is a prep-commit for populating RealmAuditLogs for changes made to UserGroup. Signed-off-by: Zixuan James Li <p359101898@gmail.com>
This commit is contained in:
committed by
Tim Abbott
parent
d5ae88b4a0
commit
7ae4549b3f
@@ -135,7 +135,7 @@ def add_members_to_group_backend(
|
||||
)
|
||||
|
||||
user_profile_ids = [user.id for user in user_profiles]
|
||||
bulk_add_members_to_user_group(user_group, user_profile_ids)
|
||||
bulk_add_members_to_user_group(user_group, user_profile_ids, acting_user=user_profile)
|
||||
return json_success(request)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user