mirror of
https://github.com/zulip/zulip.git
synced 2025-11-22 07:21:23 +00:00
groups: Accept anonymous groups for create_multiuse_invite_group.
On the frontend, the selection is still a dropdown of system groups but on the API level, we have started accepting anonymous groups similar to other settings. We've kept require system groups true for now until we switch to group picker on the frontend.
This commit is contained in:
committed by
Tim Abbott
parent
3310aed462
commit
ceb0197c1b
@@ -477,7 +477,6 @@ const dropdown_widget_map = new Map<string, DropdownWidget | null>([
|
||||
["realm_signup_announcements_stream_id", null],
|
||||
["realm_zulip_update_announcements_stream_id", null],
|
||||
["realm_default_code_block_language", null],
|
||||
["realm_create_multiuse_invite_group", null],
|
||||
["can_remove_subscribers_group", null],
|
||||
["realm_can_access_all_users_group", null],
|
||||
["realm_can_add_custom_emoji_group", null],
|
||||
@@ -489,6 +488,7 @@ const dropdown_widget_map = new Map<string, DropdownWidget | null>([
|
||||
["realm_can_delete_own_message_group", null],
|
||||
["realm_can_manage_all_groups", null],
|
||||
["realm_can_move_messages_between_channels_group", null],
|
||||
["realm_create_multiuse_invite_group", null],
|
||||
["realm_direct_message_initiator_group", null],
|
||||
["realm_direct_message_permission_group", null],
|
||||
]);
|
||||
@@ -1053,6 +1053,7 @@ export function populate_data_for_realm_settings_request(
|
||||
"can_delete_any_message_group",
|
||||
"can_delete_own_message_group",
|
||||
"can_move_messages_between_channels_group",
|
||||
"create_multiuse_invite_group",
|
||||
"direct_message_initiator_group",
|
||||
"direct_message_permission_group",
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user