mattermost-community / mattermost-plugin-welcomebot

Apache License 2.0
64 stars 41 forks source link

[Request] Support adding to channels based on groups, not just teams #102

Open FFdhorkin opened 1 year ago

FFdhorkin commented 1 year ago

Given Teams segregate the workspace and Groups do not, it would be nice to be able to have people added to specific groups be added automatically to corresponding channels. Pretty much the exact 'teams' behavior that is described in the Readme example, except based on groups instead.

From the readme:

Those who join the Staff team should be added to a set of channels based on their role:

Developers added to Bugs, Jira Tasks, and Sprint Planning channels Account Managers added to Leads, Sales Discussion, and Win-Loss Analysis channels Support added to Bugs, Customer Support and Leads channels

This type of behavior is highly desirable for groups.

Kshitij-Katiyar commented 3 months ago

@mickmister This is a new feature in which we are adding layer for the group-based member for teams. Is this something needed here?

mickmister commented 2 months ago

@Kshitij-Katiyar If we already have a pattern in the core application to have high-level operations or automation around groups, then this seems reasonable. I think groups themselves are editable by anyone, so we would want to make sure the channels are all public to avoid data access issues. @BenCookie95 Would you happen to know the rules around who can edit a group?

I'm thinking the ask here is to run this automation when someone is added to a group, as opposed to when they join a server/team. AFAIK handling groups is a manual process.