[release-10.11] MM-69010: Validate incoming webhook user membership (#36917)
Automatic Merge
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
beaa59db54
Коммит
f6d3a7827e
@@ -4554,6 +4554,14 @@
|
||||
"id": "api.webhook.create_outgoing.triggers.app_error",
|
||||
"translation": "Either trigger_words or channel_id must be set."
|
||||
},
|
||||
{
|
||||
"id": "api.webhook.incoming.user_membership.app_error",
|
||||
"translation": "The webhook user must be a member of the target team or channel."
|
||||
},
|
||||
{
|
||||
"id": "api.webhook.incoming.user_role.app_error",
|
||||
"translation": "You cannot assign a webhook to a user with higher privileges than your own."
|
||||
},
|
||||
{
|
||||
"id": "api.webhook.team_mismatch.app_error",
|
||||
"translation": "Unable to update webhook across teams."
|
||||
|
||||
Ссылка в новой задаче
Block a user