We hit an issue on our Community server where a guest was getting automatically added to channels they were not supposed to be in when joining a team.
PR adds an option to conditionally include guests when adding users to channels. I've kept it opt-in (default is false) as it seems to me like the more secure approach but feel free to let me know if you think it's better to have it opt-out (to retain the existing behaviour that is).
Summary
We hit an issue on our Community server where a guest was getting automatically added to channels they were not supposed to be in when joining a team.
PR adds an option to conditionally include guests when adding users to channels. I've kept it opt-in (default is false) as it seems to me like the more secure approach but feel free to let me know if you think it's better to have it opt-out (to retain the existing behaviour that is).
Fixes https://github.com/mattermost/mattermost-plugin-welcomebot/issues/63