user_groups: Add creator and date_created field in user groups.

This commit introduced 'creator' and 'date_created'
fields in user groups, allowing users to view who
created the groups and when.

Both fields can be null for groups without creator data.
This commit is contained in:
sujal shah
2024-06-04 16:06:52 +05:30
committed by Tim Abbott
parent 3b69f2e5d9
commit 614caf111e
20 changed files with 251 additions and 6 deletions

View File

@@ -45,6 +45,8 @@ export function add(user_group_raw: UserGroupRaw): void {
description: user_group_raw.description,
id: user_group_raw.id,
name: user_group_raw.name,
creator_id: user_group_raw.creator_id,
date_created: user_group_raw.date_created,
members: new Set(user_group_raw.members),
is_system_group: user_group_raw.is_system_group,
direct_subgroup_ids: new Set(user_group_raw.direct_subgroup_ids),