mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
user_groups: Add API support to add subgroups during group creation.
This commit adds support to add subgroups to a group while creating it. User can add the subgroups to group irrespective of permissions like user can add members during creating it.
This commit is contained in:
@@ -20279,6 +20279,19 @@ paths:
|
||||
items:
|
||||
type: integer
|
||||
example: [1, 2, 3, 4]
|
||||
subgroups:
|
||||
description: |
|
||||
An array containing the IDs of the initial subgroups for the new
|
||||
user group.
|
||||
|
||||
User can add subgroups to the new group irrespective of other
|
||||
permissions for the new group.
|
||||
|
||||
**Changes**: New in Zulip 10.0 (feature level 311).
|
||||
type: array
|
||||
items:
|
||||
type: integer
|
||||
example: [11]
|
||||
can_add_members_group:
|
||||
allOf:
|
||||
- description: |
|
||||
@@ -20362,6 +20375,8 @@ paths:
|
||||
encoding:
|
||||
members:
|
||||
contentType: application/json
|
||||
subgroups:
|
||||
contentType: application/json
|
||||
can_add_members_group:
|
||||
contentType: application/json
|
||||
can_join_group:
|
||||
|
||||
Reference in New Issue
Block a user