user_groups: Add can_add_members_group field to group create/edit.

This commit is contained in:
Shubham Padia
2024-10-08 14:37:34 +00:00
committed by Tim Abbott
parent f134662312
commit 8a2a8b64aa
12 changed files with 50 additions and 2 deletions

View File

@@ -22,6 +22,7 @@ run_test("user_groups", () => {
members: new Set([1, 2]),
is_system_group: false,
direct_subgroup_ids: new Set([4, 5]),
can_add_members_group: 1,
can_join_group: 1,
can_manage_group: 1,
can_mention_group: 2,
@@ -45,6 +46,7 @@ run_test("user_groups", () => {
members: new Set([3]),
is_system_group: false,
direct_subgroup_ids: new Set([]),
can_add_members_group: 1,
can_join_group: 1,
can_manage_group: 1,
can_mention_group: 2,