[release-10.11] Restrict group_constrained to channels that support group sync (#36916)

Automatic Merge
Этот коммит содержится в:
Maria A Nunez
2026-06-05 03:29:59 -04:00
коммит произвёл GitHub
родитель 56098dd6f0
Коммит beaa59db54
6 изменённых файлов: 95 добавлений и 0 удалений

Просмотреть файл

@@ -455,6 +455,10 @@
"id": "api.channel.patch_update_channel.forbidden.app_error",
"translation": "Failed to update the channel."
},
{
"id": "api.channel.patch_update_channel.group_constrained_not_allowed.app_error",
"translation": "You are not allowed to set group_constrained on this channel type."
},
{
"id": "api.channel.patch_update_channel.update_direct_or_group_messages_not_allowed.app_error",
"translation": "You are not allowed to update the name, display_name, and purpose of direct or group messages."
@@ -8980,6 +8984,10 @@
"id": "model.channel.is_valid.display_name.app_error",
"translation": "Invalid display name."
},
{
"id": "model.channel.is_valid.group_constrained.app_error",
"translation": "Only public and private channels can be group constrained."
},
{
"id": "model.channel.is_valid.header.app_error",
"translation": "Invalid header."