mattermost/mattermost

mmctl: Add the ability to auto-add users to a team when moving a channel

Open

#30332 opened on Feb 25, 2025

View on GitHub
 (4 comments) (0 reactions) (1 assignee)TypeScript (32,880 stars) (7,823 forks)batch import
Area/mmctlDifficulty/2:MediumHelp WantedTech/Go

Description

When running mmctl teams channel move if there are users not in the destination team, that are in the channel, the command fails with a simple error message. The server logs do contain warning logs about which users need to be added but the command output does not.

It would be a much better experience if:

  1. The command output listed the users that needed to be added, and
  2. There was a flag that auto added missing users to the team

If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.

New contributors please see our Developer's Guide.

JIRA: https://mattermost.atlassian.net/browse/MM-62918

Contributor guide