Adds default team to the remote cluster entity (#27863)
* Adds default team to the remote cluster entity A new DefaultTeamId field is added to the RemoteCluster entity and its endpoints, and used when receiving channel invites to choose in which team to create a new channel. This will be later extended with the ability for the system admin to manually accept invites, choosing which team to create the channel on each. This use case will be triggered when the DefaultTeamId field is empty, which now simply chooses the first team it finds in the database as a fallback. * Fix migrations list * Fixes channelinvite test case * Fix i18n * Fix migration list
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
3d8d0f5e3e
Коммит
59873a2a50
@@ -3499,6 +3499,9 @@ components:
|
||||
site_url:
|
||||
description: URL of the remote cluster
|
||||
type: string
|
||||
default_team_id:
|
||||
description: The team where channels from invites are created
|
||||
type: string
|
||||
create_at:
|
||||
description: Time in milliseconds that the remote cluster was created
|
||||
type: integer
|
||||
|
||||
@@ -171,6 +171,9 @@
|
||||
properties:
|
||||
display_name:
|
||||
type: string
|
||||
default_team_id:
|
||||
type: string
|
||||
description: The team where channels from invites are created
|
||||
responses:
|
||||
"200":
|
||||
description: Remote Cluster patch successful
|
||||
|
||||
Ссылка в новой задаче
Block a user