Updates to user groups modal
Since we are introducing syncing, admin would also be able to see the channels the group is synced to by going to the user groups modal.
We will introduce two tabs now, one for users and one for channels.
Adding channels
Once the user clicks add channel, a new modal opens up allowing users to search for channels.
We will also add a note that adding channels would sync users completely to them.
So that means, any users synced to the channel now also gets access to the team.
Who can sync user groups to channels - permissions
Not all users can sync groups to a channel. Only users with the following permission would actually be able to sync them.
Ability to manage channels under custom groups (this will be a new setting under user groups in permissions)
Ability to manage Team membership (incase all users are not on the team)
Ability to manage Channel membership
Another way to think about it is this diagram:
If a user does not have permissions to add a user group to a channel, they still would be able to see the channel in the listing, or see the group when they’re in the Add members modal, but they will get an error explaining which permissions they lack.
These can be 3 or a combination of them as mentioned above.
Adding permission setting to Manage Channel membership for user groups.
We will be adding a new setting in the permission schema under user groups.
Manage channel membership.
Adding user groups via the add members modal
Users can also add user groups via the add members modal at an individual channel level.
Once added, the user group appears in the members list.