Mm 64299 disable guest invite in abac channels (#31139)
* MM-64299 - disable guest invite in abac channels * filter the abac channel list for guest * add filter in the back-end too * add proper translation * simplify the condition for enforced channels and add the unit tests * enhance validation for not inviting guest users when abac enforced channel * add missing translation * add value to empty translation * prevent showing the channel name if abac protected
Этот коммит содержится в:
@@ -3230,6 +3230,10 @@
|
||||
"id": "api.team.invite_guests.channel_in_invalid_team.app_error",
|
||||
"translation": "The channels of the invite must be part of the team of the invite."
|
||||
},
|
||||
{
|
||||
"id": "api.team.invite_guests.policy_enforced_channel.app_error",
|
||||
"translation": "Cannot invite guests users to this channel because it has access restrictions based on user attributes."
|
||||
},
|
||||
{
|
||||
"id": "api.team.invite_guests_to_channels.disabled.error",
|
||||
"translation": "Guest accounts are disabled"
|
||||
|
||||
Ссылка в новой задаче
Block a user