mirror of
https://github.com/zulip/zulip.git
synced 2025-11-16 03:41:58 +00:00
audit-log: Move user group event types to AuditLogEventType enum.
Event types moved: USER_GROUP_CREATED, USER_GROUP_DELETED USER_GROUP_DIRECT_USER_MEMBERSHIP_ADDED, USER_GROUP_DIRECT_USER_MEMBERSHIP_REMOVED, USER_GROUP_DIRECT_SUBGROUP_MEMBERSHIP_ADDED, USER_GROUP_DIRECT_SUBGROUP_MEMBERSHIP_REMOVED, USER_GROUP_DIRECT_SUPERGROUP_MEMBERSHIP_ADDED, USER_GROUP_DIRECT_SUPERGROUP_MEMBERSHIP_REMOVED, USER_GROUP_NAME_CHANGED, USER_GROUP_DESCRIPTION_CHANGED, USER_GROUP_GROUP_BASED_SETTING_CHANGED
This commit is contained in:
committed by
Tim Abbott
parent
df1e9093a9
commit
d431a5aad6
@@ -154,7 +154,7 @@ def bulk_create_users(
|
||||
realm=realm,
|
||||
modified_user=membership.user_profile,
|
||||
modified_user_group=membership.user_group.named_user_group,
|
||||
event_type=RealmAuditLog.USER_GROUP_DIRECT_USER_MEMBERSHIP_ADDED,
|
||||
event_type=AuditLogEventType.USER_GROUP_DIRECT_USER_MEMBERSHIP_ADDED,
|
||||
event_time=now,
|
||||
acting_user=None,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user